aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-02-01 20:35:47 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2013-02-01 20:35:47 +0000
commit9484c1dcf084452228aae439edcd00e1b4ce7470 (patch)
tree69a5ff8844eeb45c3cfd166090a867e5d68c9344
parent54596b99c9ae43554284eb16a9ca7c23a666b261 (diff)
Const'ify Preprocessor::getPredefinesFileID.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174218 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/Lex/Preprocessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h
index 36027157e3..df243f97d8 100644
--- a/include/clang/Lex/Preprocessor.h
+++ b/include/clang/Lex/Preprocessor.h
@@ -507,7 +507,7 @@ public:
PreprocessorLexer *getCurrentFileLexer() const;
/// \brief Returns the file ID for the preprocessor predefines.
- FileID getPredefinesFileID() { return PredefinesFileID; }
+ FileID getPredefinesFileID() const { return PredefinesFileID; }
/// getPPCallbacks/addPPCallbacks - Accessors for preprocessor callbacks.
/// Note that this class takes ownership of any PPCallbacks object given to