allow clearing this value.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82271 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/clang/Lex/Lexer.h b/include/clang/Lex/Lexer.h
index cd1c49d..c2db4d3 100644
--- a/include/clang/Lex/Lexer.h
+++ b/include/clang/Lex/Lexer.h
@@ -184,8 +184,8 @@
   ///
   /// 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; }