projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6057895
)
Properly deserialize Clang types that are used as attribute arguments
author
Douglas Gregor
<dgregor@apple.com>
Tue, 5 Oct 2010 14:51:48 +0000
(14:51 +0000)
committer
Douglas Gregor
<dgregor@apple.com>
Tue, 5 Oct 2010 14:51:48 +0000
(14:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@115616
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/ClangAttrEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/ClangAttrEmitter.cpp
b/utils/TableGen/ClangAttrEmitter.cpp
index c921d9f70253c0309d3b5a9c5cf8daa3751bc14e..2faa49ca45ad1a53fcc3b2e986464fc1090d2785 100644
(file)
--- a/
utils/TableGen/ClangAttrEmitter.cpp
+++ b/
utils/TableGen/ClangAttrEmitter.cpp
@@
-44,7
+44,7
@@
std::string ReadPCHRecord(StringRef type) {
return StringSwitch<std::string>(type)
.EndsWith("Decl *", "cast_or_null<" + std::string(type, 0, type.size()-1) +
">(GetDecl(Record[Idx++]))")
- .Case("QualType", "
ReadTypeRecord(Idx++
)")
+ .Case("QualType", "
GetType(Record[Idx++]
)")
.Default("Record[Idx++]");
}