Assumes that the scope of a ClangContext is the same as that stated for a
clang Index. Namely that those translation units that are created are the
same as those that would be linked together into an executable or library.
Items are:
- An index that all translation units use as input.
- A VFS providing access to the files that the translation unites are
derived from.
Convenient context of items needed to practically create a clang AST.
"Creating a clang AST" means calling makeTranslationUnit.
Assumes that the scope of a ClangContext is the same as that stated for a clang Index. Namely that those translation units that are created are the same as those that would be linked together into an executable or library.
Items are: - An index that all translation units use as input. - A VFS providing access to the files that the translation unites are derived from.