Change the text of a FIXME.

llvm-svn: 151387
This commit is contained in:
Argyrios Kyrtzidis 2012-02-24 19:45:46 +00:00
parent f0fc594be5
commit e1bc99e1ff
1 changed files with 2 additions and 1 deletions

View File

@ -3860,7 +3860,8 @@ void ASTWriter::associateDeclWithFile(const Decl *D, DeclID ID) {
// 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;