clang 20.0.0git
|
A source location that has been parsed on the command line. More...
#include "clang/Frontend/CommandLineSourceLoc.h"
Public Member Functions | |
std::string | ToString () const |
Serialize ParsedSourceLocation back to a string. | |
Static Public Member Functions | |
static ParsedSourceLocation | FromString (StringRef Str) |
Construct a parsed source location from a string; the Filename is empty on error. | |
Public Attributes | |
std::string | FileName |
unsigned | Line |
unsigned | Column |
A source location that has been parsed on the command line.
Definition at line 25 of file CommandLineSourceLoc.h.
|
inlinestatic |
Construct a parsed source location from a string; the Filename is empty on error.
Definition at line 33 of file CommandLineSourceLoc.h.
References Column, FileName, and Line.
Referenced by clang::ParsedSourceRange::fromString(), and ParseFrontendArgs().
|
inline |
Serialize ParsedSourceLocation back to a string.
Definition at line 54 of file CommandLineSourceLoc.h.
References Column, FileName, and Line.
Referenced by GenerateFrontendArgs().
unsigned clang::ParsedSourceLocation::Column |
Definition at line 28 of file CommandLineSourceLoc.h.
Referenced by clang::ASTUnit::CodeComplete(), FromString(), and ToString().
std::string clang::ParsedSourceLocation::FileName |
Definition at line 26 of file CommandLineSourceLoc.h.
Referenced by clang::ASTUnit::CodeComplete(), clang::ASTFrontendAction::ExecuteAction(), FromString(), GenerateFrontendArgs(), llvm::cl::parser< clang::ParsedSourceLocation >::parse(), ParseFrontendArgs(), and ToString().
unsigned clang::ParsedSourceLocation::Line |
Definition at line 27 of file CommandLineSourceLoc.h.
Referenced by clang::ASTUnit::CodeComplete(), FromString(), and ToString().