clang-tags
C/C++ source code indexing tool based on libclang
|
Set of translation units. More...
#include <index.hxx>
Classes | |
struct | Index_ |
Public Member Functions | |
Index () | |
default constructor | |
TranslationUnit | parse (int argc, char const *const *const argv) const |
Create a translation unit from a command-line. | |
TranslationUnit | parse (const std::vector< std::string > &args) const |
Create a translation unit from a command-line. |
Set of translation units.
This is a proxy for libclang's CXIndex
type
TranslationUnit LibClang::Index::parse | ( | int | argc, |
char const *const *const | argv | ||
) | const |
Create a translation unit from a command-line.
Return the translation unit for a given source file and the provided command-line arguments which would be passed to the compiler.
argc | The number of command-line arguments |
argv | A C-style array of command-line arguments |
TranslationUnit LibClang::Index::parse | ( | const std::vector< std::string > & | args | ) | const |
Create a translation unit from a command-line.
Return the translation unit for a given source file and the provided command-line arguments which would be passed to the compiler.
args | A vector of command-line arguments |