reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Lex/PPMacroExpansion.cpp
 1445   assert(II && "Can't be a macro without id info!");
 1449   if (II == Ident_Pragma)
 1451   else if (II == Ident__pragma) // in non-MS mode this is null
 1465   if (II == Ident__LINE__) {
 1486   } else if (II == Ident__FILE__ || II == Ident__BASE_FILE__ ||
 1486   } else if (II == Ident__FILE__ || II == Ident__BASE_FILE__ ||
 1487              II == Ident__FILE_NAME__) {
 1494     if (II == Ident__BASE_FILE__ && PLoc.isValid()) {
 1510       if (II == Ident__FILE_NAME__) {
 1525   } else if (II == Ident__DATE__) {
 1535   } else if (II == Ident__TIME__) {
 1545   } else if (II == Ident__INCLUDE_LEVEL__) {
 1560   } else if (II == Ident__TIMESTAMP__) {
 1584   } else if (II == Ident__COUNTER__) {
 1588   } else if (II == Ident__has_feature) {
 1589     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1595   } else if (II == Ident__has_extension) {
 1596     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1602   } else if (II == Ident__has_builtin) {
 1603     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1655   } else if (II == Ident__is_identifier) {
 1656     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1660   } else if (II == Ident__has_attribute) {
 1661     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1668   } else if (II == Ident__has_declspec) {
 1669     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1676   } else if (II == Ident__has_cpp_attribute ||
 1677              II == Ident__has_c_attribute) {
 1678     bool IsCXX = II == Ident__has_cpp_attribute;
 1680         OS, Tok, II, *this, [&](Token &Tok, bool &HasLexedNextToken) -> int {
 1704   } else if (II == Ident__has_include ||
 1705              II == Ident__has_include_next) {
 1710     if (II == Ident__has_include)
 1711       Value = EvaluateHasInclude(Tok, II, *this);
 1713       Value = EvaluateHasIncludeNext(Tok, II, *this);
 1719   } else if (II == Ident__has_warning) {
 1721     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1748   } else if (II == Ident__building_module) {
 1752     EvaluateFeatureLikeBuiltinMacro(OS, Tok, II, *this,
 1759   } else if (II == Ident__MODULE__) {
 1765   } else if (II == Ident__identifier) {
 1774         << II << tok::l_paren;
 1803   } else if (II == Ident__is_target_arch) {
 1805         OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int {
 1810   } else if (II == Ident__is_target_vendor) {
 1812         OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int {
 1817   } else if (II == Ident__is_target_os) {
 1819         OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int {
 1824   } else if (II == Ident__is_target_environment) {
 1826         OS, Tok, II, *this, [this](Token &Tok, bool &HasLexedNextToken) -> int {