summaryrefslogtreecommitdiff
path: root/include/clang/Lex/MultipleIncludeOpt.h
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2008-02-25 19:03:15 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2008-02-25 19:03:15 +0000
commit0184cc719f06d2c5da6ae0725847ef875c6128cd (patch)
treef851b5133a4ba4968ecb1c48918a1f2638d928ad /include/clang/Lex/MultipleIncludeOpt.h
parent29db75ceec7a6c726fc95245f9522a4dba72299a (diff)
downloadclang-0184cc719f06d2c5da6ae0725847ef875c6128cd.tar.gz
Fix PR2086.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47551 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/MultipleIncludeOpt.h')
-rw-r--r--include/clang/Lex/MultipleIncludeOpt.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/clang/Lex/MultipleIncludeOpt.h b/include/clang/Lex/MultipleIncludeOpt.h
index 08bb259fda..94d4677f9d 100644
--- a/include/clang/Lex/MultipleIncludeOpt.h
+++ b/include/clang/Lex/MultipleIncludeOpt.h
@@ -93,11 +93,11 @@ public:
TheMacro = M;
}
- /// FoundTopLevelElse - This is invoked when an #else/#elif directive is found
- /// in the top level conditional in the file.
- void FoundTopLevelElse() {
- /// If a #else directive is found at the top level, there is a chunk of the
- /// file not guarded by the controlling macro.
+ /// EnterTopLevelConditional - This is invoked when a top level conditional
+ /// (except #ifndef) is found.
+ void EnterTopLevelConditional() {
+ /// If a conditional directive (except #ifndef) is found at the top level,
+ /// there is a chunk of the file not guarded by the controlling macro.
Invalidate();
}