diff options
Diffstat (limited to 'include/clang/Basic/SourceManager.h')
-rw-r--r-- | include/clang/Basic/SourceManager.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/include/clang/Basic/SourceManager.h b/include/clang/Basic/SourceManager.h index 9178447a72..2c6b8cde18 100644 --- a/include/clang/Basic/SourceManager.h +++ b/include/clang/Basic/SourceManager.h @@ -1107,20 +1107,6 @@ public: /// /// If the source file is included multiple times, the source location will /// be based upon the first inclusion. - /// - /// If the location points inside a function macro argument, the returned - /// location will be the macro location in which the argument was expanded. - /// \sa getMacroArgExpandedLocation - SourceLocation getLocation(const FileEntry *SourceFile, - unsigned Line, unsigned Col) { - SourceLocation Loc = translateFileLineCol(SourceFile, Line, Col); - return getMacroArgExpandedLocation(Loc); - } - - /// \brief Get the source location for the given file:line:col triplet. - /// - /// If the source file is included multiple times, the source location will - /// be based upon the first inclusion. SourceLocation translateFileLineCol(const FileEntry *SourceFile, unsigned Line, unsigned Col) const; |