[llvm-branch-commits] [llvm-branch] r115672 - /llvm/branches/Apple/whitney/utils/TableGen/ClangAttrEmitter.cpp
Daniel Dunbar
daniel at zuster.org
Tue Oct 5 13:55:27 PDT 2010
Author: ddunbar
Date: Tue Oct 5 15:55:27 2010
New Revision: 115672
URL: http://llvm.org/viewvc/llvm-project?rev=115672&view=rev
Log:
Merge r115616:
--
Author: Douglas Gregor <dgregor at apple.com>
Date: Tue Oct 5 14:51:48 2010 +0000
Properly deserialize Clang types that are used as attribute arguments
Modified:
llvm/branches/Apple/whitney/utils/TableGen/ClangAttrEmitter.cpp
Modified: llvm/branches/Apple/whitney/utils/TableGen/ClangAttrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/whitney/utils/TableGen/ClangAttrEmitter.cpp?rev=115672&r1=115671&r2=115672&view=diff
==============================================================================
--- llvm/branches/Apple/whitney/utils/TableGen/ClangAttrEmitter.cpp (original)
+++ llvm/branches/Apple/whitney/utils/TableGen/ClangAttrEmitter.cpp Tue Oct 5 15:55:27 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-branch-commits
mailing list