forked from OSchip/llvm-project
Note that a CXIndex cannot be destroyed until after all of its translation units have been destroyed
llvm-svn: 95598
This commit is contained in:
parent
f85bee621b
commit
408bb74ae6
|
@ -171,6 +171,13 @@ CINDEX_LINKAGE void clang_disposeString(CXString string);
|
|||
* (which gives the indexer the same performance benefit as the compiler).
|
||||
*/
|
||||
CINDEX_LINKAGE CXIndex clang_createIndex(int excludeDeclarationsFromPCH);
|
||||
|
||||
/**
|
||||
* \brief Destroy the given index.
|
||||
*
|
||||
* The index must not be destroyed until all of the translation units created
|
||||
* within that index have been destroyed.
|
||||
*/
|
||||
CINDEX_LINKAGE void clang_disposeIndex(CXIndex index);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue