#include "clang/Basic/Diagnostic.h"
#include "clang/Basic/LLVM.h"
#include "clang/Driver/OptionUtils.h"
#include "clang/Frontend/DependencyOutputOptions.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/StringSet.h"
#include "llvm/Support/FileCollector.h"
#include "llvm/Support/VirtualFileSystem.h"
#include <cstdint>
#include <memory>
#include <string>
#include <system_error>
#include <utility>
#include <vector>
Go to the source code of this file.
|
namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI.
|
|
|
void | clang::InitializePreprocessor (Preprocessor &PP, const PreprocessorOptions &PPOpts, const PCHContainerReader &PCHContainerRdr, const FrontendOptions &FEOpts, const CodeGenOptions &CodeGenOpts) |
| InitializePreprocessor - Initialize the preprocessor getting it and the environment ready to process a single file.
|
|
void | clang::DoPrintPreprocessedInput (Preprocessor &PP, raw_ostream *OS, const PreprocessorOutputOptions &Opts) |
| DoPrintPreprocessedInput - Implement -E mode.
|
|
void | clang::AttachDependencyGraphGen (Preprocessor &PP, StringRef OutputFile, StringRef SysRoot) |
| AttachDependencyGraphGen - Create a dependency graph generator, and attach it to the given preprocessor.
|
|
void | clang::AttachHeaderIncludeGen (Preprocessor &PP, const DependencyOutputOptions &DepOpts, bool ShowAllHeaders=false, StringRef OutputPath={}, bool ShowDepth=true, bool MSStyle=false) |
| AttachHeaderIncludeGen - Create a header include list generator, and attach it to the given preprocessor.
|
|
IntrusiveRefCntPtr< ExternalSemaSource > | clang::createChainedIncludesSource (CompilerInstance &CI, IntrusiveRefCntPtr< ExternalSemaSource > &Reader) |
| The ChainedIncludesSource class converts headers to chained PCHs in memory, mainly for testing.
|
|
std::unique_ptr< CompilerInvocation > | clang::createInvocation (ArrayRef< const char * > Args, CreateInvocationOptions Opts={}) |
| Interpret clang arguments in preparation to parse a file.
|
|