summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-18 20:39:46 +0000
committerChris Lattner <sabre@nondot.org>2009-09-18 20:39:46 +0000
commit3e8b4f6637f4b8305e3ec5d1d25ad4738e49ffbe (patch)
tree28c42b712a34367a61f1a8da1ed45c504929ad74
parent7ba874bb5e4ed682d1445e211092d49510e111cc (diff)
downloadbcm5719-llvm-3e8b4f6637f4b8305e3ec5d1d25ad4738e49ffbe.tar.gz
bcm5719-llvm-3e8b4f6637f4b8305e3ec5d1d25ad4738e49ffbe.zip
allow clearing this value.
llvm-svn: 82271
-rw-r--r--clang/include/clang/Lex/Lexer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Lex/Lexer.h b/clang/include/clang/Lex/Lexer.h
index cd1c49d5d61..c2db4d357c5 100644
--- a/clang/include/clang/Lex/Lexer.h
+++ b/clang/include/clang/Lex/Lexer.h
@@ -184,8 +184,8 @@ public:
///
/// When in this mode, the end-of-file token will be immediately preceded
/// by a code-completion token.
- void SetEofIsCodeCompletion() {
- IsEofCodeCompletion = true;
+ void SetEofIsCodeCompletion(bool Val = true) {
+ IsEofCodeCompletion = Val;
}
const char *getBufferStart() const { return BufferStart; }
OpenPOWER on IntegriCloud