[cfe-commits] r122311 - /cfe/trunk/lib/Frontend/ASTConsumers.cpp
Francois Pichet
pichet2000 at gmail.com
Mon Dec 20 19:08:02 PST 2010
Author: fpichet
Date: Mon Dec 20 21:08:02 2010
New Revision: 122311
URL: http://llvm.org/viewvc/llvm-project?rev=122311&view=rev
Log:
Add IndirectField case in DeclContextPrinter::PrintDeclContext.
Fix PR8832.
Modified:
cfe/trunk/lib/Frontend/ASTConsumers.cpp
Modified: cfe/trunk/lib/Frontend/ASTConsumers.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ASTConsumers.cpp?rev=122311&r1=122310&r2=122311&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/ASTConsumers.cpp (original)
+++ cfe/trunk/lib/Frontend/ASTConsumers.cpp Mon Dec 20 21:08:02 2010
@@ -354,6 +354,11 @@
PrintDeclContext(DC, Indentation+2);
break;
}
+ case Decl::IndirectField: {
+ IndirectFieldDecl* IFD = cast<IndirectFieldDecl>(*I);
+ Out << "<IndirectField> " << IFD << '\n';
+ break;
+ }
case Decl::Field: {
FieldDecl* FD = cast<FieldDecl>(*I);
Out << "<field> " << FD << '\n';
More information about the cfe-commits
mailing list