Home
last modified time | relevance | path

Searched refs:getNumTokens (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DMacroUsageCheck.cpp42 MD->getMacroInfo()->getNumTokens() == 0) in MacroDefined()
/external/clang/lib/Lex/
DPreprocessor.cpp244 for (unsigned i = 0, e = MI.getNumTokens(); i != e; ++i) { in DumpMacro()
330 return Tokens.size() == MI->getNumTokens() && in MacroDefinitionEquals()
DPPDirectives.cpp2220 if (MI->getNumTokens() == 1) { in isConfigurationPattern()
2257 MI->getNumTokens() == 0; in isConfigurationPattern()
2399 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective()
2454 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective()
DPPMacroExpansion.cpp511 if (MI->getNumTokens() == 0) { in HandleMacroExpandedIdentifier()
521 } else if (MI->getNumTokens() == 1 && in HandleMacroExpandedIdentifier()
/external/llvm-project/clang/lib/Lex/
DPPDirectives.cpp2474 if (MI->getNumTokens() == 1) { in isConfigurationPattern()
2511 MI->getNumTokens() == 0; in isConfigurationPattern()
2648 const unsigned NumTokens = MI->getNumTokens(); in ReadOptionalMacroParameterListAndBody()
2690 unsigned NumTokens = MI->getNumTokens(); in ReadOptionalMacroParameterListAndBody()
2778 unsigned NumTokens = MI->getNumTokens(); in HandleDefineDirective()
DPreprocessor.cpp265 for (unsigned i = 0, e = MI.getNumTokens(); i != e; ++i) { in DumpMacro()
351 return Tokens.size() == MI->getNumTokens() && in MacroDefinitionEquals()
/external/llvm-project/clang/include/clang/Lex/
DMacroInfo.h233 unsigned getNumTokens() const { return ReplacementTokens.size(); } in getNumTokens() function
/external/clang/include/clang/Lex/
DMacroInfo.h231 unsigned getNumTokens() const { return ReplacementTokens.size(); } in getNumTokens() function
/external/clang/lib/Sema/
DSema.cpp61 BoolMacro->getNumTokens() == 1 && in getPrintingPolicy()
/external/llvm-project/clang/lib/Sema/
DSema.cpp81 BoolMacro->getNumTokens() == 1 && in getPrintingPolicy()
/external/clang/tools/libclang/
DCIndex.cpp7874 if (MI->getNumTokens() == 0) in checkForMacroInMacroDefinition()
7913 if (MI->getNumTokens() == 0) in checkForMacroInMacroDefinition()
/external/llvm-project/clang/tools/libclang/
DCIndex.cpp8989 if (MI->getNumTokens() == 0) in checkForMacroInMacroDefinition()
9028 if (MI->getNumTokens() == 0) in checkForMacroInMacroDefinition()
/external/clang/lib/Serialization/
DASTWriter.cpp2282 for (unsigned TokNo = 0, e = MI->getNumTokens(); TokNo != e; ++TokNo) { in WritePreprocessor()
/external/llvm-project/clang/lib/Serialization/
DASTWriter.cpp2318 for (unsigned TokNo = 0, e = MI->getNumTokens(); TokNo != e; ++TokNo) { in WritePreprocessor()