[cfe-commits] r151387 - /cfe/trunk/lib/Serialization/ASTWriter.cpp
Argyrios Kyrtzidis
akyrtzi at gmail.com
Fri Feb 24 11:45:46 PST 2012
Author: akirtzidis
Date: Fri Feb 24 13:45:46 2012
New Revision: 151387
URL: http://llvm.org/viewvc/llvm-project?rev=151387&view=rev
Log:
Change the text of a FIXME.
Modified:
cfe/trunk/lib/Serialization/ASTWriter.cpp
Modified: cfe/trunk/lib/Serialization/ASTWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTWriter.cpp?rev=151387&r1=151386&r2=151387&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTWriter.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTWriter.cpp Fri Feb 24 13:45:46 2012
@@ -3860,7 +3860,8 @@
// We only keep track of the file-level declarations of each file.
if (!D->getLexicalDeclContext()->isFileContext())
return;
- // FIXME: We should never have ParmVarDecls with TU as context.
+ // FIXME: ParmVarDecls that are part of a function type of a parameter of
+ // a function/objc method, should not have TU as lexical context.
if (isa<ParmVarDecl>(D))
return;
More information about the cfe-commits
mailing list