clang
9.0.0
|
This is the interface for minimizing header and source files to the minimum necessary preprocessor directives for evaluating includes. More...
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
Go to the source code of this file.
Classes | |
struct | clang::minimize_source_to_dependency_directives::Token |
Represents a simplified token that's lexed as part of the source minimization. More... | |
Namespaces | |
clang | |
Dataflow Directional Tag Classes. | |
clang::minimize_source_to_dependency_directives | |
Functions | |
bool | clang::minimizeSourceToDependencyDirectives (llvm::StringRef Input, llvm::SmallVectorImpl< char > &Output, llvm::SmallVectorImpl< minimize_source_to_dependency_directives::Token > &Tokens, DiagnosticsEngine *Diags=nullptr, SourceLocation InputSourceLoc=SourceLocation()) |
Minimize the input down to the preprocessor directives that might have an effect on the dependencies for a compilation unit. More... | |
This is the interface for minimizing header and source files to the minimum necessary preprocessor directives for evaluating includes.
It reduces the source down to #define, #include, #import, , and any conditional preprocessor logic that contains one of those.
Definition in file DependencyDirectivesSourceMinimizer.h.