clang API Documentation

Public Member Functions
clang::idx::TULocation Class Reference

Like ASTLocation but also contains the TranslationUnit that the ASTLocation originated from. More...

#include <ASTLocation.h>

Inheritance diagram for clang::idx::TULocation:
Inheritance graph
[legend]
Collaboration diagram for clang::idx::TULocation:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TULocation (TranslationUnit *tu, ASTLocation astLoc)
TranslationUnitgetTU () const

Detailed Description

Like ASTLocation but also contains the TranslationUnit that the ASTLocation originated from.

Definition at line 157 of file ASTLocation.h.


Constructor & Destructor Documentation

clang::idx::TULocation::TULocation ( TranslationUnit tu,
ASTLocation  astLoc 
) [inline]

Definition at line 161 of file ASTLocation.h.


Member Function Documentation

TranslationUnit* clang::idx::TULocation::getTU ( ) const [inline]

Definition at line 166 of file ASTLocation.h.


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