summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-24 19:45:46 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-02-24 19:45:46 +0000
commite1bc99e1ffe14e2a0290a567cf08d9aed3df5d81 (patch)
tree8d2e34b93be12b13bcbf71a18e0142718c1c6b2a /clang/lib/Serialization
parentf0fc594be5c6dce0d8bed7460e84cdd07583d37e (diff)
downloadbcm5719-llvm-e1bc99e1ffe14e2a0290a567cf08d9aed3df5d81.tar.gz
bcm5719-llvm-e1bc99e1ffe14e2a0290a567cf08d9aed3df5d81.zip
Change the text of a FIXME.
llvm-svn: 151387
Diffstat (limited to 'clang/lib/Serialization')
-rw-r--r--clang/lib/Serialization/ASTWriter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Serialization/ASTWriter.cpp b/clang/lib/Serialization/ASTWriter.cpp
index 66e5d6a625e..f626f0b7e03 100644
--- a/clang/lib/Serialization/ASTWriter.cpp
+++ b/clang/lib/Serialization/ASTWriter.cpp
@@ -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;
OpenPOWER on IntegriCloud