]> granicus.if.org Git - clang/commitdiff
constified getFullLoc().
authorTed Kremenek <kremenek@apple.com>
Wed, 12 Dec 2007 18:55:29 +0000 (18:55 +0000)
committerTed Kremenek <kremenek@apple.com>
Wed, 12 Dec 2007 18:55:29 +0000 (18:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44951 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Lex/Preprocessor.h

index 134a0e95cf415956f27fc1a2b7667fea74b09e50..c8c1da6b6ef521dba5b3af0c4d9775b42f6a1f88 100644 (file)
@@ -152,7 +152,7 @@ public:
   IdentifierTable &getIdentifierTable() { return Identifiers; }
   SelectorTable &getSelectorTable() { return Selectors; }
   
-  inline FullSourceLoc getFullLoc(SourceLocation Loc) {
+  inline FullSourceLoc getFullLoc(SourceLocation Loc) const {
     return FullSourceLoc(Loc,getSourceManager());
   }