clang: lib/Basic/ASTSourceDescriptor.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
15
17
19 : Signature(M.Signature), ClangModule(&M) {
23 ASTFile = File->getName();
24}
25
27 if (ClangModule)
28 return ClangModule->Name;
29 else
30 return std::string(PCHModuleName);
31}
32
33}
Defines the clang::ASTSourceDescriptor class, which abstracts clang modules and precompiled header fi...
ASTSourceDescriptor()=default
std::string getModuleName() const
StringRef getName() const
Describes a module or submodule.
std::string Name
The name of this module.
OptionalDirectoryEntryRef Directory
The build directory of this module.
OptionalFileEntryRef getASTFile() const
The serialized AST file for this module, if one was created.
The JSON file list parser is used to communicate input to InstallAPI.