|
@@ -1103,20 +1103,6 @@ public:
|
|
// Other miscellaneous methods.
|
|
// Other miscellaneous methods.
|
|
//===--------------------------------------------------------------------===//
|
|
//===--------------------------------------------------------------------===//
|
|
|
|
|
|
- /// \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.
|
|
|
|
- ///
|
|
|
|
- /// 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.
|
|
/// \brief Get the source location for the given file:line:col triplet.
|
|
///
|
|
///
|
|
/// If the source file is included multiple times, the source location will
|
|
/// If the source file is included multiple times, the source location will
|