|
clang 23.0.0git
|
Functions | |
| bool | isAnnexKAvailable (Preprocessor *PP, const LangOptions &LO) |
| Calculates whether Annex K is available for the current translation unit based on the macro definitions and the language options. | |
|
nodiscard |
Calculates whether Annex K is available for the current translation unit based on the macro definitions and the language options.
Annex K (Bounds-checking interfaces) is available when:
| PP | The preprocessor instance to check macro definitions. |
| LO | The language options to check C11 standard. |
Definition at line 21 of file AnnexKDetection.cpp.
References clang::Preprocessor::getIdentifierInfo(), clang::Preprocessor::getMacroInfo(), clang::Preprocessor::isMacroDefined(), and clang::T.