aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2007-12-12 18:55:29 +0000
committerTed Kremenek <kremenek@apple.com>2007-12-12 18:55:29 +0000
commite0579f08d4a4ae57971b74ca1863106df4c6399f (patch)
treecb883718ef2a79ca027d3bf2760cea5a3cbd7678
parent1b924fd6a9730e7de1b175fb82434de6e7e0f0f8 (diff)
constified getFullLoc().
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44951 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 134a0e95cf..c8c1da6b6e 100644
--- a/include/clang/Lex/Preprocessor.h
+++ b/include/clang/Lex/Preprocessor.h
@@ -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());
}