clang  3.9.0
Static Public Member Functions | Public Attributes | List of all members
clang::ParsedSourceLocation Struct Reference

A source location that has been parsed on the command line. More...

#include <CommandLineSourceLoc.h>

Collaboration diagram for clang::ParsedSourceLocation:
[legend]

Static Public Member Functions

static ParsedSourceLocation FromString (StringRef Str)
 Construct a parsed source location from a string; the Filename is empty on error. More...
 

Public Attributes

std::string FileName
 
unsigned Line
 
unsigned Column
 

Detailed Description

A source location that has been parsed on the command line.

Definition at line 25 of file CommandLineSourceLoc.h.

Member Function Documentation

static ParsedSourceLocation clang::ParsedSourceLocation::FromString ( StringRef  Str)
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 ParseFrontendArgs().

Member Data Documentation

unsigned clang::ParsedSourceLocation::Column
std::string clang::ParsedSourceLocation::FileName
unsigned clang::ParsedSourceLocation::Line

The documentation for this struct was generated from the following file: