ICG 2
Electric Boogaloo
Public Member Functions | List of all members
ASTFilter::SourceManager Class Reference

Keep track of what is a system header by pulling system include directories from clang -### <file More...

#include <ASTFilter.hpp>

Public Member Functions

 SourceManager (std::string file)
 Construct a new Source Manager object. More...
 
bool isSystem (std::string file)
 Determine whether a given full file path is a system header or not. More...
 
void print ()
 Print out the system header directories. More...
 

Detailed Description

Keep track of what is a system header by pulling system include directories from clang -### <file

Constructor & Destructor Documentation

◆ SourceManager()

ASTFilter::SourceManager::SourceManager ( std::string  file)

Construct a new Source Manager object.

Parameters
filefile that we're trying to manage

Member Function Documentation

◆ isSystem()

bool ASTFilter::SourceManager::isSystem ( std::string  file)

Determine whether a given full file path is a system header or not.

Parameters
filefull file path, as printed in an AST
Returns
true file is a system header
false otherwise

◆ print()

void ASTFilter::SourceManager::print ( )

Print out the system header directories.


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