Showing content from https://clang.llvm.org/doxygen/namespaceclang_1_1driver_1_1types.html below:
clang: clang::driver::types Namespace Reference
const char * getTypeName (ID Id) getTypeName - Return the name of the type for Id
.
ID getPreprocessedType (ID Id) getPreprocessedType - Get the ID of the type for this input when it has been preprocessed, or INVALID if this input is not preprocessed.
ID getPrecompiledType (ID Id) getPrecompiledType - Get the ID of the type for this input when it has been precompiled, or INVALID if this input is not precompiled.
const char * getTypeTempSuffix (ID Id, bool CLStyle=false) getTypeTempSuffix - Return the suffix to use when creating a temp file of this type, or null if unspecified.
bool onlyPrecompileType (ID Id) onlyPrecompileType - Should this type only be precompiled.
bool canTypeBeUserSpecified (ID Id) canTypeBeUserSpecified - Can this type be specified on the command line (by the type name); this is used when forwarding commands to gcc.
bool appendSuffixForType (ID Id) appendSuffixForType - When generating outputs of this type, should the suffix be appended (instead of replacing the existing suffix).
bool canLipoType (ID Id) canLipoType - Is this type acceptable as the output of a universal build (currently, just the Nothing, Image, and Object types).
bool isAcceptedByClang (ID Id) isAcceptedByClang - Can clang handle this input type.
bool isAcceptedByFlang (ID Id) isAcceptedByFlang - Can flang handle this input type.
bool isDerivedFromC (ID Id) isDerivedFromC - Is the input derived from C.
bool isCXX (ID Id) isCXX - Is this a "C++" input (C++ and Obj-C++ sources and headers).
bool isLLVMIR (ID Id) Is this LLVM IR.
bool isCuda (ID Id) isCuda - Is this a CUDA input.
bool isHIP (ID Id) isHIP - Is this a HIP input.
bool isObjC (ID Id) isObjC - Is this an "ObjC" input (Obj-C and Obj-C++ sources and headers).
bool isOpenCL (ID Id) isOpenCL - Is this an "OpenCL" input.
bool isHLSL (ID Id) isHLSL - Is this an HLSL input.
bool isSrcFile (ID Id) isSrcFile - Is this a source file, i.e.
ID lookupTypeForExtension (llvm::StringRef Ext) lookupTypeForExtension - Lookup the type to use for the file extension Ext
.
ID lookupTypeForTypeSpecifier (const char *Name) lookupTypeForTypSpecifier - Lookup the type to use for a user specified type name.
llvm::SmallVector< phases::ID, phases::MaxNumberOfPhases > getCompilationPhases (ID Id, phases::ID LastPhase=phases::IfsMerge) getCompilationPhases - Get the list of compilation phases ('Phases') to be done for type 'Id' up until including LastPhase.
llvm::SmallVector< phases::ID, phases::MaxNumberOfPhases > getCompilationPhases (const clang::driver::Driver &Driver, llvm::opt::DerivedArgList &DAL, ID Id) ID lookupCXXTypeForCType (ID Id) lookupCXXTypeForCType - Lookup CXX input type that corresponds to given C type (used for clang++ emulation of g++ behaviour)
ID lookupHeaderTypeForSourceType (ID Id) Lookup header file input type that corresponds to given source file type (used for clang-cl emulation of \Yc).
◆ ID Enumerator TY_INVALID TY_LAST
Definition at line 23 of file Types.h.
◆ appendSuffixForType() bool clang::driver::types::appendSuffixForType ( ID Id ) ◆ canLipoType() bool clang::driver::types::canLipoType ( ID Id ) ◆ canTypeBeUserSpecified() bool clang::driver::types::canTypeBeUserSpecified ( ID Id ) ◆ getCompilationPhases() [1/2] ◆ getCompilationPhases() [2/2] ◆ getPrecompiledType() types::ID clang::driver::types::getPrecompiledType ( ID Id ) ◆ getPreprocessedType() types::ID clang::driver::types::getPreprocessedType ( ID Id ) ◆ getTypeName() const char * clang::driver::types::getTypeName ( ID Id ) ◆ getTypeTempSuffix() const char * clang::driver::types::getTypeTempSuffix ( ID Id, bool CLStyle = false
) ◆ isAcceptedByClang() bool clang::driver::types::isAcceptedByClang ( ID Id ) ◆ isAcceptedByFlang() bool clang::driver::types::isAcceptedByFlang ( ID Id ) ◆ isCuda() bool clang::driver::types::isCuda ( ID Id ) ◆ isCXX() bool clang::driver::types::isCXX ( ID Id ) ◆ isDerivedFromC() bool clang::driver::types::isDerivedFromC ( ID Id )
isDerivedFromC - Is the input derived from C.
That is, does the lexer follow the rules of TokenConcatenation::AvoidConcat. If this is the case, the preprocessor may add and remove whitespace between tokens. Used to determine whether the input can be processed by -fminimize-whitespace.
Definition at line 176 of file Types.cpp.
References Id.
◆ isHIP() bool clang::driver::types::isHIP ( ID Id ) ◆ isHLSL() bool clang::driver::types::isHLSL ( ID Id ) ◆ isLLVMIR() bool clang::driver::types::isLLVMIR ( ID Id ) ◆ isObjC() bool clang::driver::types::isObjC ( ID Id ) ◆ isOpenCL() bool clang::driver::types::isOpenCL ( ID Id ) ◆ isSrcFile() bool clang::driver::types::isSrcFile ( ID Id ) ◆ lookupCXXTypeForCType() ID clang::driver::types::lookupCXXTypeForCType ( ID Id ) ◆ lookupHeaderTypeForSourceType() ID clang::driver::types::lookupHeaderTypeForSourceType ( ID Id )
Lookup header file input type that corresponds to given source file type (used for clang-cl emulation of \Yc).
Definition at line 418 of file Types.cpp.
References Id.
◆ lookupTypeForExtension() types::ID clang::driver::types::lookupTypeForExtension ( llvm::StringRef Ext ) ◆ lookupTypeForTypeSpecifier() types::ID clang::driver::types::lookupTypeForTypeSpecifier ( const char * Name ) ◆ onlyPrecompileType() bool clang::driver::types::onlyPrecompileType ( ID Id )
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4