[llvm-commits] [llvm] r115616 - /llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp
Douglas Gregor
dgregor at apple.com
Tue Oct 5 07:51:48 PDT 2010
Author: dgregor
Date: Tue Oct 5 09:51:48 2010
New Revision: 115616
URL: http://llvm.org/viewvc/llvm-project?rev=115616&view=rev
Log:
Properly deserialize Clang types that are used as attribute arguments
Modified:
llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp
Modified: llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp?rev=115616&r1=115615&r2=115616&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ClangAttrEmitter.cpp Tue Oct 5 09:51:48 2010
@@ -44,7 +44,7 @@
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++]");
}
More information about the llvm-commits
mailing list