clang  6.0.0svn
Classes | Namespaces | Enumerations | Functions
CrossTranslationUnit.h File Reference
#include "clang/Basic/LLVM.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/Support/Error.h"
Include dependency graph for CrossTranslationUnit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  clang::cross_tu::IndexError
 
class  clang::cross_tu::CrossTranslationUnitContext
 This class is used for tools that requires cross translation unit capability. More...
 

Namespaces

 clang
 Dataflow Directional Tag Classes.
 
 clang::cross_tu
 

Enumerations

enum  clang::cross_tu::index_error_code {
  clang::cross_tu::index_error_code::unspecified = 1, clang::cross_tu::index_error_code::missing_index_file, clang::cross_tu::index_error_code::invalid_index_format, clang::cross_tu::index_error_code::multiple_definitions,
  clang::cross_tu::index_error_code::missing_definition, clang::cross_tu::index_error_code::failed_import, clang::cross_tu::index_error_code::failed_to_get_external_ast, clang::cross_tu::index_error_code::failed_to_generate_usr
}
 

Functions

llvm::Expected< llvm::StringMap< std::string > > clang::cross_tu::parseCrossTUIndex (StringRef IndexPath, StringRef CrossTUDir)
 This function parses an index file that determines which translation unit contains which definition. More...
 
std::string clang::cross_tu::createCrossTUIndexString (const llvm::StringMap< std::string > &Index)