aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}