| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 112 Token &Tok) override { in HandlePragma() 113 Token PragmaName = Tok; in HandlePragma() 115 PP.Diag(Tok.getLocation(), diag::warn_pragma_fp_ignored) in HandlePragma() 127 Toks[0].setLocation(Tok.getLocation()); in HandlePragma() 128 Toks[0].setAnnotationEndLoc(Tok.getLocation()); in HandlePragma() 141 Token &Tok) override { in HandlePragma() 151 Toks[0].setLocation(Tok.getLocation()); in HandlePragma() 152 Toks[0].setAnnotationEndLoc(Tok.getLocation()); in HandlePragma() 165 Token &Tok) override; 315 Token Tok; in HandlePragma() local [all …]
|
| H A D | Parser.cpp | 64 Tok.startToken(); in Parser() 65 Tok.setKind(tok::eof); in Parser() 89 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) { in Diag() argument 90 return Diag(Tok.getLocation(), DiagID); in Diag() 99 DiagnosticBuilder Parser::DiagCompat(const Token &Tok, unsigned CompatDiagId) { in DiagCompat() argument 100 return DiagCompat(Tok.getLocation(), CompatDiagId); in DiagCompat() 118 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) { in IsCommonTypo() argument 121 return Tok.is(tok::colon) || Tok.is(tok::comma); // : or , for ; in IsCommonTypo() 128 if (Tok.is(ExpectedTok) || Tok.is(tok::code_completion)) { in ExpectAndConsume() 134 if (IsCommonTypo(ExpectedTok, Tok)) { in ExpectAndConsume() [all …]
|
| H A D | ParseCXXInlineMethods.cpp | 25 if (!Tok.is(tok::l_paren)) in ParseCXXDeletedFunctionMessage() 41 Diag(Tok.getLocation(), diag::err_expected_string_literal) in ParseCXXDeletedFunctionMessage() 51 if (!Tok.is(tok::l_paren)) in SkipDeletedFunctionBody() 59 if (Tok.is(tok::r_paren)) in SkipDeletedFunctionBody() 68 assert(Tok.isOneOf(tok::l_brace, tok::colon, tok::kw_try, tok::equal) && in ParseCXXInlineMethodDef() 104 SourceLocation KWEndLoc = Tok.getEndLoc().getLocWithOffset(-1); in ParseCXXInlineMethodDef() 129 if (Tok.is(tok::comma)) { in ParseCXXInlineMethodDef() 178 tok::TokenKind kind = Tok.getKind(); in ParseCXXInlineMethodDef() 188 llvm::any_of(Toks, [](const Token &Tok) { in ParseCXXInlineMethodDef() argument 189 return Tok.is(tok::code_completion); in ParseCXXInlineMethodDef() [all …]
|
| H A D | ParseOpenMP.cpp | 79 Token Tok = P.getCurToken(); in parseOpenMPDirectiveKind() local 80 if (Tok.isAnnotation()) in parseOpenMPDirectiveKind() 83 std::string Concat = P.getPreprocessor().getSpelling(Tok); in parseOpenMPDirectiveKind() 84 SourceLocation Loc = Tok.getLocation(); in parseOpenMPDirectiveKind() 90 while (!Tok.isAnnotation()) { in parseOpenMPDirectiveKind() 92 Tok = P.getPreprocessor().LookAhead(0); in parseOpenMPDirectiveKind() 93 if (!Tok.isAnnotation()) { in parseOpenMPDirectiveKind() 94 std::string TS = P.getPreprocessor().getSpelling(Tok); in parseOpenMPDirectiveKind() 108 Token Tok = P.getCurToken(); in parseOpenMPReductionId() local 113 if (Tok.is(tok::kw_operator)) { in parseOpenMPReductionId() [all …]
|
| H A D | ParseObjc.cpp | 33 if (Tok.is(tok::kw___attribute)) { in MaybeSkipAttributes() 35 Diag(Tok, diag::err_objc_postfix_attribute_hint) in MaybeSkipAttributes() 38 Diag(Tok, diag::err_objc_postfix_attribute); in MaybeSkipAttributes() 50 if (Tok.is(tok::code_completion)) { in ParseObjCAtDirectives() 56 switch (Tok.getObjCKeywordID()) { in ParseObjCAtDirectives() 64 Diag(Tok.getLocation(), diag::err_objc_unexpected_attr); in ParseObjCAtDirectives() 69 switch (Tok.getObjCKeywordID()) { in ParseObjCAtDirectives() 142 if (Tok.is(tok::code_completion)) { in ParseObjCAtClassDeclaration() 151 ClassNames.push_back(Tok.getIdentifierInfo()); in ParseObjCAtClassDeclaration() 152 ClassLocs.push_back(Tok.getLocation()); in ParseObjCAtClassDeclaration() [all …]
|
| H A D | ParseTentative.cpp | 22 switch (Tok.getKind()) { in isCXXDeclarationStatement() 44 switch (Tok.getKind()) { in isCXXDeclarationStatement() 46 IdentifierInfo *II = Tok.getIdentifierInfo(); in isCXXDeclarationStatement() 48 getCurScope(), *II, Tok.getLocation(), SS, /*Template=*/nullptr); in isCXXDeclarationStatement() 150 switch (Tok.getKind()) { in TryConsumeDeclarationSpecifier() 163 if (Tok.isNot(tok::l_paren)) in TryConsumeDeclarationSpecifier() 191 if (Tok.is(tok::annot_cxxscope)) in TryConsumeDeclarationSpecifier() 193 if (Tok.is(tok::identifier)) in TryConsumeDeclarationSpecifier() 195 else if (Tok.is(tok::annot_template_id)) in TryConsumeDeclarationSpecifier() 207 if (getLangOpts().ObjC && Tok.is(tok::less)) in TryConsumeDeclarationSpecifier() [all …]
|
| H A D | ParseDeclCXX.cpp | 40 assert(Tok.is(tok::kw_namespace) && "Not a namespace!"); in ParseNamespace() 44 if (Tok.is(tok::code_completion)) { in ParseNamespace() 60 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 in ParseNamespace() 68 if (Tok.is(tok::identifier)) { in ParseNamespace() 69 Ident = Tok.getIdentifierInfo(); in ParseNamespace() 71 while (Tok.is(tok::coloncolon) && in ParseNamespace() 79 if (Tok.is(tok::kw_inline)) { in ParseNamespace() 85 Info.Ident = Tok.getIdentifierInfo(); in ParseNamespace() 102 if (Tok.is(tok::equal)) { in ParseNamespace() 104 Diag(Tok, diag::err_expected) << tok::identifier; in ParseNamespace() [all …]
|
| H A D | ParseHLSL.cpp | 52 assert((Tok.is(tok::kw_cbuffer) || Tok.is(tok::kw_tbuffer)) && in ParseHLSLBuffer() 54 bool IsCBuffer = Tok.is(tok::kw_cbuffer); in ParseHLSLBuffer() 57 if (!Tok.is(tok::identifier)) { in ParseHLSLBuffer() 58 Diag(Tok, diag::err_expected) << tok::identifier; in ParseHLSLBuffer() 62 IdentifierInfo *Identifier = Tok.getIdentifierInfo(); in ParseHLSLBuffer() 71 Diag(Tok, diag::err_expected) << tok::l_brace; in ParseHLSLBuffer() 80 while (Tok.isNot(tok::r_brace) && Tok.isNot(tok::eof)) { in ParseHLSLBuffer() 106 Token Tok, ArgsVector &ArgExprs, in fixSeparateAttrArgAndNumber() argument 109 StringRef Num = StringRef(Tok.getLiteralData(), Tok.getLength()); in fixSeparateAttrArgAndNumber() 110 SourceLocation EndNumLoc = Tok.getEndLoc(); in fixSeparateAttrArgAndNumber() [all …]
|
| H A D | ParseTemplate.cpp | 38 if (Tok.is(tok::kw_template) && NextToken().isNot(tok::less)) { in ParseDeclarationStartingWithTemplate() 50 assert(Tok.isOneOf(tok::kw_export, tok::kw_template) && in ParseTemplateDeclarationOrSpecialization() 94 Diag(Tok.getLocation(), diag::err_expected_template); in ParseTemplateDeclarationOrSpecialization() 133 } while (Tok.isOneOf(tok::kw_export, tok::kw_template)); in ParseTemplateDeclarationOrSpecialization() 139 if (Tok.is(tok::kw_concept)) { in ParseTemplateDeclarationOrSpecialization() 165 if (Tok.is(tok::kw_static_assert)) { in ParseDeclarationAfterTemplate() 167 Diag(Tok.getLocation(), diag::err_templated_invalid_declaration) in ParseDeclarationAfterTemplate() 190 if (Tok.is(tok::kw_using)) in ParseDeclarationAfterTemplate() 204 if (Tok.is(tok::semi)) { in ParseDeclarationAfterTemplate() 236 assert(Tok.is(tok::kw_concept) && in ParseConceptDefinition() [all …]
|
| H A D | ParseInit.cpp | 26 switch (Tok.getKind()) { in MayBeDesignationStart() 100 return Tok.is(tok::equal); in MayBeDesignationStart() 122 if (Tok.is(tok::identifier)) { in ParseInitializerWithPotentialDesignator() 123 const IdentifierInfo *FieldName = Tok.getIdentifierInfo(); in ParseInitializerWithPotentialDesignator() 131 assert(Tok.is(tok::colon) && "MayBeDesignationStart not working properly!"); in ParseInitializerWithPotentialDesignator() 142 Tok.getLocation(), DesignatorCompletion.PreferredBaseType, D); in ParseInitializerWithPotentialDesignator() 153 while (Tok.is(tok::period) || Tok.is(tok::l_square)) { in ParseInitializerWithPotentialDesignator() 154 if (Tok.is(tok::period)) { in ParseInitializerWithPotentialDesignator() 158 if (Tok.is(tok::code_completion)) { in ParseInitializerWithPotentialDesignator() 165 if (Tok.isNot(tok::identifier)) { in ParseInitializerWithPotentialDesignator() [all …]
|
| H A D | ParseStmt.cpp | 142 tok::TokenKind Kind = Tok.getKind(); in ParseStatementOrDeclarationAfterAttributes() 180 if (Tok.is(tok::semi)) in ParseStatementOrDeclarationAfterAttributes() 186 if (Tok.isNot(tok::identifier)) in ParseStatementOrDeclarationAfterAttributes() 212 SourceLocation DeclStart = Tok.getLocation(), DeclEnd; in ParseStatementOrDeclarationAfterAttributes() 233 if (Tok.is(tok::r_brace)) { in ParseStatementOrDeclarationAfterAttributes() 234 Diag(Tok, diag::err_expected_statement); in ParseStatementOrDeclarationAfterAttributes() 238 switch (Tok.getKind()) { in ParseStatementOrDeclarationAfterAttributes() 242 Tok.setKind(tok::identifier); in ParseStatementOrDeclarationAfterAttributes() 243 Diag(Tok, diag::ext_keyword_as_ident) in ParseStatementOrDeclarationAfterAttributes() 244 << Tok.getIdentifierInfo()->getName() << 0; in ParseStatementOrDeclarationAfterAttributes() [all …]
|
| H A D | ParseStmtAsm.cpp | 184 const Token &Tok = AsmToks[TokIndex]; in translateLocation() local 185 Loc = Tok.getLocation(); in translateLocation() 210 LineToks.push_back(Tok); in ParseMSAsmIdentifier() 230 if (Tok.is(tok::kw_this)) { in ParseMSAsmIdentifier() 248 while (Result.isUsable() && Tok.is(tok::period)) { in ParseMSAsmIdentifier() 253 IdentifierInfo *Id = Tok.getIdentifierInfo(); in ParseMSAsmIdentifier() 256 Tok.getLocation()); in ParseMSAsmIdentifier() 261 if (Tok.is(EndOfStream)) { in ParseMSAsmIdentifier() 264 while (LineToks[LineIndex].getLocation() != Tok.getLocation()) { in ParseMSAsmIdentifier() 272 if (Invalid || Tok.is(EndOfStream)) { in ParseMSAsmIdentifier() [all …]
|
| H A D | ParseDecl.cpp | 147 IdentifierInfo *AttrName = Tok.getIdentifierInfo(); in ParseSingleGNUAttribute() 153 if (Tok.isNot(tok::l_paren)) { in ParseSingleGNUAttribute() 196 LA->Toks.push_back(Tok); in ParseSingleGNUAttribute() 203 Eof.setLocation(Tok.getLocation()); in ParseSingleGNUAttribute() 211 assert(Tok.is(tok::kw___attribute) && "Not a GNU attribute list!"); in ParseGNUAttributes() 213 SourceLocation StartLoc = Tok.getLocation(); in ParseGNUAttributes() 216 while (Tok.is(tok::kw___attribute)) { in ParseGNUAttributes() 237 if (Tok.isAnnotation()) in ParseGNUAttributes() 239 if (Tok.is(tok::code_completion)) { in ParseGNUAttributes() 248 } while (Tok.is(tok::comma)); in ParseGNUAttributes() [all …]
|
| H A D | ParseExpr.cpp | 77 if (Tok.is(tok::code_completion)) { in ParseAssignmentExpression() 80 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseAssignmentExpression() 84 if (Tok.is(tok::kw_throw)) in ParseAssignmentExpression() 86 if (Tok.is(tok::kw_co_yield)) in ParseAssignmentExpression() 96 if (Tok.is(tok::code_completion)) { in ParseConditionalExpression() 99 getCurScope(), PreferredType.get(Tok.getLocation())); in ParseConditionalExpression() 228 getBinOpPrecedence(Tok.getKind(), GreaterThanIsOperator, in ParseConstraintLogicalAndExpression() 232 Tok.isOneOf(tok::period, tok::plusplus, tok::minusminus) || in ParseConstraintLogicalAndExpression() 233 (Tok.is(tok::l_square) && !NextToken().is(tok::l_square))) { in ParseConstraintLogicalAndExpression() 241 Actions.CheckConstraintExpression(E.get(), Tok, &PossibleNonPrimary, in ParseConstraintLogicalAndExpression() [all …]
|
| H A D | ParseExprCXX.cpp | 96 TemplateName.setIdentifier(&II, Tok.getLocation()); in CheckForTemplateAndDigraph() 115 if (Tok.is(tok::annot_cxxscope)) { in ParseOptionalCXXScopeSpecifier() 118 Actions.RestoreNestedNameSpecifierAnnotation(Tok.getAnnotationValue(), in ParseOptionalCXXScopeSpecifier() 119 Tok.getAnnotationRange(), in ParseOptionalCXXScopeSpecifier() 137 if (Tok.is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier() 156 if (Tok.is(tok::kw___super)) { in ParseOptionalCXXScopeSpecifier() 158 if (!Tok.is(tok::coloncolon)) { in ParseOptionalCXXScopeSpecifier() 159 Diag(Tok.getLocation(), diag::err_expected_coloncolon_after_super); in ParseOptionalCXXScopeSpecifier() 167 Tok.isOneOf(tok::kw_decltype, tok::annot_decltype)) { in ParseOptionalCXXScopeSpecifier() 169 SourceLocation DeclLoc = Tok.getLocation(); in ParseOptionalCXXScopeSpecifier() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | Pragma.cpp | 104 PragmaIntroducer Introducer, Token &Tok) { in HandlePragma() argument 107 PP.LexUnexpandedToken(Tok); in HandlePragma() 111 = FindHandler(Tok.getIdentifierInfo() ? Tok.getIdentifierInfo()->getName() in HandlePragma() 115 PP.Diag(Tok, diag::warn_pragma_ignored); in HandlePragma() 120 Handler->HandlePragma(PP, Introducer, Tok); in HandlePragma() 135 Token &Tok; member 139 Tokens.push_back(Tok); in lex() 140 Self.Lex(Tok); in lex() 150 Toks[Tokens.size() - 1] = Tok; in revert() 156 Tok = *Tokens.begin(); in revert() [all …]
|
| H A D | PPMacroExpansion.cpp | 494 Callbacks->MacroExpands(Info.Tok, Info.MD, Info.Range, in HandleMacroExpandedIdentifier() 722 Token Tok; in ReadMacroCallArgumentList() local 726 LexUnexpandedToken(Tok); in ReadMacroCallArgumentList() 727 assert(Tok.is(tok::l_paren) && "Error computing l-paren-ness?"); in ReadMacroCallArgumentList() 739 while (Tok.isNot(tok::r_paren)) { in ReadMacroCallArgumentList() 740 if (ContainsCodeCompletionTok && Tok.isOneOf(tok::eof, tok::eod)) in ReadMacroCallArgumentList() 743 assert(Tok.isOneOf(tok::l_paren, tok::comma) && in ReadMacroCallArgumentList() 747 SourceLocation ArgStartLoc = Tok.getLocation(); in ReadMacroCallArgumentList() 756 LexUnexpandedToken(Tok); in ReadMacroCallArgumentList() 758 if (Tok.isOneOf(tok::eof, tok::eod)) { // "#if f(<eof>" & "#if f(\n" in ReadMacroCallArgumentList() [all …]
|
| H A D | ModuleMapFile.cpp | 105 MMToken Tok{}; member 128 SourceLocation getLocation() const { return Tok.getLocation(); }; in getLocation() 178 Tok.clear(); in parseTopLevelDecls() 181 switch (Tok.Kind) { in parseTopLevelDecls() 221 Diags.Report(Tok.getLocation(), diag::err_mmap_expected_module); in parseTopLevelDecls() 248 assert(Tok.is(MMToken::ExplicitKeyword) || Tok.is(MMToken::ModuleKeyword) || in parseModuleDecl() 249 Tok.is(MMToken::FrameworkKeyword)); in parseModuleDecl() 258 if (Tok.is(MMToken::ExplicitKeyword)) { in parseModuleDecl() 264 if (Tok.is(MMToken::FrameworkKeyword)) { in parseModuleDecl() 272 if (!Tok.is(MMToken::ModuleKeyword)) { in parseModuleDecl() [all …]
|
| H A D | TokenConcatenation.cpp | 47 bool TokenConcatenation::IsIdentifierStringPrefix(const Token &Tok) const { in IsIdentifierStringPrefix() 50 if (!Tok.needsCleaning()) { in IsIdentifierStringPrefix() 51 if (Tok.getLength() < 1 || Tok.getLength() > 3) in IsIdentifierStringPrefix() 54 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation())); in IsIdentifierStringPrefix() 55 return IsStringPrefix(StringRef(Ptr, Tok.getLength()), in IsIdentifierStringPrefix() 59 if (Tok.getLength() < 256) { in IsIdentifierStringPrefix() 62 unsigned length = PP.getSpelling(Tok, TokPtr); in IsIdentifierStringPrefix() 66 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 128 static char GetFirstChar(const Preprocessor &PP, const Token &Tok) { in GetFirstChar() argument 129 if (IdentifierInfo *II = Tok.getIdentifierInfo()) { in GetFirstChar() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Format/ |
| H A D | QualifierAlignmentFixer.cpp | 70 First->Tok.getEndLoc()); in removeToken() 78 auto Range = CharSourceRange::getCharRange(First->Tok.getLocation(), in insertQualifierAfter() 79 First->Tok.getEndLoc()); in insertQualifierAfter() 92 First->Tok.getEndLoc()); in insertQualifierBefore() 130 auto *Tok = Begin; in rotateTokens() local 131 while (Tok != End) { in rotateTokens() 133 Tok->isNot(tok::coloncolon)) { in rotateTokens() 137 NewText += Tok->TokenText; in rotateTokens() 138 Tok = Tok->Next; in rotateTokens() 149 Last->Tok.getEndLoc()); in rotateTokens() [all …]
|
| H A D | ObjCPropertyAttributeOrderFixer.cpp | 56 for (auto Tok = BeginTok; Tok != EndTok; Tok = Tok->Next) { in sortPropertyAttributes() local 57 assert(Tok); in sortPropertyAttributes() 58 if (Tok->is(tok::comma)) { in sortPropertyAttributes() 64 if (!Tok->isOneOf(tok::identifier, tok::kw_class)) { in sortPropertyAttributes() 69 const StringRef Attribute{Tok->TokenText}; in sortPropertyAttributes() 75 assert(Tok->Next); in sortPropertyAttributes() 76 if (Tok->Next->is(tok::equal)) { in sortPropertyAttributes() 77 Tok = Tok->Next; in sortPropertyAttributes() 78 assert(Tok->Next); in sortPropertyAttributes() 79 if (Tok->Next->isNot(tok::identifier)) { in sortPropertyAttributes() [all …]
|
| H A D | WhitespaceManager.cpp | 34 WhitespaceManager::Change::Change(const FormatToken &Tok, in Change() argument 42 : Tok(&Tok), CreateReplacement(CreateReplacement), in Change() 53 void WhitespaceManager::replaceWhitespace(FormatToken &Tok, unsigned Newlines, in replaceWhitespace() argument 57 if (Tok.Finalized || (Tok.MacroCtx && Tok.MacroCtx->Role == MR_ExpandedArg)) in replaceWhitespace() 59 Tok.setDecision((Newlines > 0) ? FD_Break : FD_Continue); in replaceWhitespace() 60 Changes.push_back(Change(Tok, /*CreateReplacement=*/true, Tok.WhitespaceRange, in replaceWhitespace() 62 IsAligned, InPPDirective && !Tok.IsFirst, in replaceWhitespace() 66 void WhitespaceManager::addUntouchableToken(const FormatToken &Tok, in addUntouchableToken() argument 68 if (Tok.Finalized || (Tok.MacroCtx && Tok.MacroCtx->Role == MR_ExpandedArg)) in addUntouchableToken() 70 Changes.push_back(Change(Tok, /*CreateReplacement=*/false, in addUntouchableToken() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | CommentParser.cpp | 59 const Token &Tok = Toks[Pos.CurToken]; in setupBuffer() local 61 Pos.BufferStart = Tok.getText().begin(); in setupBuffer() 62 Pos.BufferEnd = Tok.getText().end(); in setupBuffer() 64 Pos.BufferStartLoc = Tok.getLocation(); in setupBuffer() 124 if (P.Tok.is(tok::newline)) { in addToken() 126 Token Newline = P.Tok; in addToken() 128 if (P.Tok.isNot(tok::text)) { in addToken() 134 if (P.Tok.isNot(tok::text)) { in addToken() 139 Toks.push_back(P.Tok); in addToken() 178 bool lexType(Token &Tok) { in lexType() argument [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Object/ |
| H A D | COFFModuleDefinition.cpp | 151 } while (Tok.K != Eof); in parse() 158 Tok = Lex.lex(); in read() 161 Tok = Stack.back(); in read() 167 if (Tok.K != Identifier || Tok.Value.getAsInteger(10, *I)) in readAsInt() 174 if (Tok.K != Expected) in expect() 179 void unget() { Stack.push_back(Tok); } in unget() 183 switch (Tok.K) { in parseOne() 189 if (Tok.K != Identifier) { in parseOne() 202 bool IsDll = Tok.K == KwLibrary; // Check before parseName. in parseOne() 222 return createError("unknown directive: " + Tok.Value); in parseOne() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 48 Token Tok; in getOffsetAfterTokenSequence() local 50 Lex.LexFromRawLexer(Tok); in getOffsetAfterTokenSequence() 51 return GetOffsetAfterSequence(SM, Lex, Tok); in getOffsetAfterTokenSequence() 59 Lexer &Lex, StringRef Name, Token &Tok, in checkAndConsumeDirectiveWithName() argument 61 bool Matched = Tok.is(tok::hash) && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName() 62 Tok.is(tok::raw_identifier) && in checkAndConsumeDirectiveWithName() 63 Tok.getRawIdentifier() == Name && !Lex.LexFromRawLexer(Tok) && in checkAndConsumeDirectiveWithName() 64 Tok.is(tok::raw_identifier) && in checkAndConsumeDirectiveWithName() 65 (!RawIDName || Tok.getRawIdentifier() == *RawIDName); in checkAndConsumeDirectiveWithName() 67 Lex.LexFromRawLexer(Tok); in checkAndConsumeDirectiveWithName() [all …]
|