#include "clang/Frontend/FrontendActions.h"
#include "clang/AST/ASTConsumer.h"
#include "clang/AST/Decl.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/LangStandard.h"
#include "clang/Basic/Module.h"
#include "clang/Basic/TargetInfo.h"
#include "clang/Frontend/ASTConsumers.h"
#include "clang/Frontend/CompilerInstance.h"
#include "clang/Frontend/FrontendDiagnostic.h"
#include "clang/Frontend/MultiplexConsumer.h"
#include "clang/Frontend/Utils.h"
#include "clang/Lex/DependencyDirectivesScanner.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/Preprocessor.h"
#include "clang/Lex/PreprocessorOptions.h"
#include "clang/Parse/ParseHLSLRootSignature.h"
#include "clang/Sema/TemplateInstCallback.h"
#include "clang/Serialization/ASTReader.h"
#include "clang/Serialization/ASTWriter.h"
#include "clang/Serialization/ModuleFile.h"
#include "llvm/Config/llvm-config.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/YAMLTraits.h"
#include "llvm/Support/raw_ostream.h"
#include <memory>
#include <optional>
#include <system_error>
#include "clang/Basic/LangOptions.def"
#include "clang/Basic/DiagnosticOptions.def"
#include "clang/Basic/Features.def"
Go to the source code of this file.
|
namespace | llvm |
| Diagnostic wrappers for TextAPI types for error reporting.
|
namespace | llvm::yaml |
|
#define | DUMP_BOOLEAN(Value, Text) |
#define | LANGOPT(Name, Bits, Default, Compatibility, Description) |
#define | ENUM_LANGOPT(Name, Type, Bits, Default, Compatibility, Description) |
#define | VALUE_LANGOPT(Name, Bits, Default, Compatibility, Description) |
#define | DIAGOPT(Name, Bits, Default) |
#define | ENUM_DIAGOPT(Name, Type, Bits, Default) |
#define | VALUE_DIAGOPT(Name, Bits, Default) |
#define | FEATURE(Name, Predicate) |
#define | EXTENSION(Name, Predicate) |
â DIAGOPT
#define DIAGOPT |
( |
| Name, |
|
|
| Bits, |
|
|
| Default ) |
Value:
#define DUMP_BOOLEAN(Value, Text)
â DUMP_BOOLEAN
#define DUMP_BOOLEAN |
( |
| Value, |
|
|
| Text ) |
â ENUM_DIAGOPT
#define ENUM_DIAGOPT |
( |
| Name, |
|
|
| Type, |
|
|
| Bits, |
|
|
| Default ) |
Value: Out.indent(4) << #Name << ": " << DiagOpts.get##Name() << "\n";
â ENUM_LANGOPT
#define ENUM_LANGOPT |
( |
| Name, |
|
|
| Type, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
Value: if constexpr (CK::Compatibility != CK::Benign) \
Out.indent(4) << Description << ": " \
<< static_cast<unsigned>(LangOpts.get##Name()) << "\n";
â EXTENSION
#define EXTENSION |
( |
| Name, |
|
|
| Predicate ) |
Value: ("\t{\"" #Name "\" : " + llvm::Twine(Predicate ? "true" : "false") + "},\n") \
.toVector(Str);
â FEATURE
#define FEATURE |
( |
| Name, |
|
|
| Predicate ) |
Value: ("\t{\"" #Name "\" : " + llvm::Twine(Predicate ? "true" : "false") + "},\n") \
.toVector(Str);
â LANGOPT
#define LANGOPT |
( |
| Name, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
Value: if constexpr (CK::Compatibility != CK::Benign) \
â VALUE_DIAGOPT
#define VALUE_DIAGOPT |
( |
| Name, |
|
|
| Bits, |
|
|
| Default ) |
Value: Out.indent(4) << #Name << ": " << DiagOpts.Name << "\n";
â VALUE_LANGOPT
#define VALUE_LANGOPT |
( |
| Name, |
|
|
| Bits, |
|
|
| Default, |
|
|
| Compatibility, |
|
|
| Description ) |
Value: if constexpr (CK::Compatibility != CK::Benign) \
Out.indent(4) << Description << ": " << LangOpts.Name << "\n";
â ModuleKindName()
StringRef ModuleKindName |
( |
Module::ModuleKind | MK | ) |
|
|
static |