r174218 - Const'ify Preprocessor::getPredefinesFileID.
Argyrios Kyrtzidis
akyrtzi at gmail.com
Fri Feb 1 12:35:47 PST 2013
Author: akirtzidis
Date: Fri Feb 1 14:35:47 2013
New Revision: 174218
URL: http://llvm.org/viewvc/llvm-project?rev=174218&view=rev
Log:
Const'ify Preprocessor::getPredefinesFileID.
Modified:
cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=174218&r1=174217&r2=174218&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Fri Feb 1 14:35:47 2013
@@ -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
More information about the cfe-commits
mailing list