aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Basic/SourceLocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/clang/Basic/SourceLocation.h')
-rw-r--r--include/clang/Basic/SourceLocation.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/clang/Basic/SourceLocation.h b/include/clang/Basic/SourceLocation.h
index faa5dc69b8..83633ebf85 100644
--- a/include/clang/Basic/SourceLocation.h
+++ b/include/clang/Basic/SourceLocation.h
@@ -234,8 +234,11 @@ public:
FullSourceLoc getLogicalLoc();
FullSourceLoc getIncludeLoc();
- unsigned getLineNumber();
- unsigned getColumnNumber();
+ unsigned getLineNumber() const;
+ unsigned getColumnNumber() const;
+
+ unsigned getLogicalLineNumber() const;
+ unsigned getLogicalColumnNumber() const;
const char *getCharacterData() const;