SageInterface::collectCppDirectiveSnapshot
Capture the primary source file's preprocessing directives in physical source order. The returned values are independent of later AST mutations.
Synopsis
Declared in <SageIII/sageInterface/sageInterface.h>
[[visibility]]
std::vector<PreprocessingInfo>
collectCppDirectiveSnapshot(SgSourceFile* file);
Return Value
A standard container which offers fixed time access to individual elements in any order.
Created with MrDocs