[cfe-commits] r44951 - /cfe/trunk/include/clang/Lex/Preprocessor.h
Ted Kremenek
kremenek at apple.com
Wed Dec 12 10:55:37 PST 2007
Author: kremenek
Date: Wed Dec 12 12:55:29 2007
New Revision: 44951
URL: http://llvm.org/viewvc/llvm-project?rev=44951&view=rev
Log:
constified getFullLoc().
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=44951&r1=44950&r2=44951&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Wed Dec 12 12:55:29 2007
@@ -152,7 +152,7 @@
IdentifierTable &getIdentifierTable() { return Identifiers; }
SelectorTable &getSelectorTable() { return Selectors; }
- inline FullSourceLoc getFullLoc(SourceLocation Loc) {
+ inline FullSourceLoc getFullLoc(SourceLocation Loc) const {
return FullSourceLoc(Loc,getSourceManager());
}
More information about the cfe-commits
mailing list