clang API Documentation
A source location that has been parsed on the command line. More...
#include <CommandLineSourceLoc.h>

Static Public Member Functions | |
| static ParsedSourceLocation | FromString (StringRef Str) |
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.
| static ParsedSourceLocation clang::ParsedSourceLocation::FromString | ( | StringRef | Str | ) | [inline, static] |
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 ParseFrontendArgs().
| unsigned clang::ParsedSourceLocation::Column |
Definition at line 28 of file CommandLineSourceLoc.h.
Referenced by clang::ASTUnit::CodeComplete(), clang::CompilerInstance::createCodeCompletionConsumer(), FromString(), and FrontendOptsToArgs().
| std::string clang::ParsedSourceLocation::FileName |
Definition at line 26 of file CommandLineSourceLoc.h.
Referenced by clang::ASTUnit::CodeComplete(), clang::CompilerInstance::createCodeCompletionConsumer(), clang::ASTFrontendAction::ExecuteAction(), FromString(), FrontendOptsToArgs(), llvm::cl::parser< clang::ParsedSourceLocation >::parse(), and ParseFrontendArgs().
| unsigned clang::ParsedSourceLocation::Line |
Definition at line 27 of file CommandLineSourceLoc.h.
Referenced by clang::ASTUnit::CodeComplete(), clang::CompilerInstance::createCodeCompletionConsumer(), FromString(), and FrontendOptsToArgs().