[cfe-commits] r38963 - /cfe/cfe/trunk/Driver/clang.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:26:18 PDT 2007
Author: sabre
Date: Wed Jul 11 11:26:17 2007
New Revision: 38963
URL: http://llvm.org/viewvc/llvm-project?rev=38963&view=rev
Log:
make this a bit nicer
Modified:
cfe/cfe/trunk/Driver/clang.cpp
Modified: cfe/cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Driver/clang.cpp?rev=38963&r1=38962&r2=38963&view=diff
==============================================================================
--- cfe/cfe/trunk/Driver/clang.cpp (original)
+++ cfe/cfe/trunk/Driver/clang.cpp Wed Jul 11 11:26:17 2007
@@ -636,7 +636,12 @@
ASTStreamerTy *Streamer = ASTStreamer_Init(PP, MainFileID, true);
while (Decl *D = ASTStreamer_ReadTopLevelDecl(Streamer)) {
- std::cerr << "Read decl!\n";
+ std::cerr << "Read top-level decl!\n";
+ //if (const IdentifierInfo *II = D->getIdentifier())
+ // std::cerr << II->getName() << "\n";
+ //else
+ // std::cerr << "\n";
+
}
ASTStreamer_Terminate(Streamer);
More information about the cfe-commits
mailing list