/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeCstyleCastCheck.cpp | 84 auto ParenRange = CharSourceRange::getTokenRange( in check() local 86 diag_builder << FixItHint::CreateReplacement(ParenRange, CastText); in check()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 109 SourceRange ParenRange) { in SuggestParentheses() argument 110 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 111 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses() 119 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | LoopConvertCheck.cpp | 663 SourceRange ParenRange(Loop->getLParenLoc(), Loop->getRParenLoc()); in doConversion() local 707 CharSourceRange::getTokenRange(ParenRange), Range)); in doConversion()
|
/external/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 98 TEST(CXXNewExpr, ParenRange) { in TEST() argument
|
/external/llvm-project/clang/lib/Parse/ |
D | Parser.cpp | 88 SourceRange ParenRange) { in SuggestParentheses() argument 89 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 90 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses() 98 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
|
/external/llvm-project/clang/unittests/AST/ |
D | SourceLocationTest.cpp | 153 TEST(CXXNewExpr, ParenRange) { in TEST() argument
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaType.cpp | 3608 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction() local 3613 << ParenRange; in warnAboutAmbiguousFunction() 3660 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction() 3663 S.getFixItZeroInitializerForType(RT, ParenRange.getBegin()); in warnAboutAmbiguousFunction() 3668 << FixItHint::CreateReplacement(ParenRange, Init); in warnAboutAmbiguousFunction() 3752 SourceRange ParenRange(Paren.Loc, Paren.EndLoc); in warnAboutRedundantParens() local 3768 << ParenRange << FixItHint::CreateRemoval(Paren.Loc) in warnAboutRedundantParens() 3774 << ParenRange << D.getIdentifier(); in warnAboutRedundantParens()
|
D | SemaDeclCXX.cpp | 14989 SourceRange ParenRange) { in BuildCXXConstructExpr() argument 15014 ConstructKind, ParenRange); in BuildCXXConstructExpr() 15028 SourceRange ParenRange) { in BuildCXXConstructExpr() argument 15038 RequiresZeroInit, ConstructKind, ParenRange); in BuildCXXConstructExpr() 15053 SourceRange ParenRange) { in BuildCXXConstructExpr() argument 15071 ParenRange), in BuildCXXConstructExpr()
|
D | SemaExpr.cpp | 8426 SourceRange ParenRange) { in SuggestParentheses() argument 8427 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 8428 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses() 8431 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses() 8435 Self.Diag(Loc, Note) << ParenRange; in SuggestParentheses()
|
D | SemaInit.cpp | 7983 SourceRange ParenRange = Kind.getParenOrBraceRange(); in Perform() local 7984 return S.ActOnParenListExpr(ParenRange.getBegin(), ParenRange.getEnd(), in Perform()
|
D | TreeTransform.h | 3116 SourceRange ParenRange) { in RebuildCXXConstructExpr() argument 3134 ParenRange); in RebuildCXXConstructExpr()
|
/external/clang/lib/Sema/ |
D | SemaType.cpp | 3054 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction() local 3059 << ParenRange; in warnAboutAmbiguousFunction() 3105 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction() 3108 S.getFixItZeroInitializerForType(RT, ParenRange.getBegin()); in warnAboutAmbiguousFunction() 3113 << FixItHint::CreateReplacement(ParenRange, Init); in warnAboutAmbiguousFunction()
|
D | SemaDeclCXX.cpp | 11441 SourceRange ParenRange) { in BuildCXXConstructExpr() argument 11466 ConstructKind, ParenRange); in BuildCXXConstructExpr() 11480 SourceRange ParenRange) { in BuildCXXConstructExpr() argument 11490 RequiresZeroInit, ConstructKind, ParenRange); in BuildCXXConstructExpr() 11505 SourceRange ParenRange) { in BuildCXXConstructExpr() argument 11517 ParenRange); in BuildCXXConstructExpr()
|
D | SemaInit.cpp | 6275 SourceRange ParenRange = Kind.getParenRange(); in Perform() local 6276 return S.ActOnParenListExpr(ParenRange.getBegin(), ParenRange.getEnd(), in Perform()
|
D | SemaExpr.cpp | 6891 SourceRange ParenRange) { in SuggestParentheses() argument 6892 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses() 6893 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses() 6896 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses() 6900 Self.Diag(Loc, Note) << ParenRange; in SuggestParentheses()
|
D | TreeTransform.h | 2702 SourceRange ParenRange) { in RebuildCXXConstructExpr() argument 2715 ParenRange); in RebuildCXXConstructExpr()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 857 SourceRange ParenRange);
|
/external/llvm-project/clang/include/clang/Parse/ |
D | Parser.h | 1172 SourceRange ParenRange);
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 4299 SourceRange ParenRange); 4310 SourceRange ParenRange); 4321 unsigned ConstructKind, SourceRange ParenRange);
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 5588 SourceRange ParenRange); 5599 SourceRange ParenRange); 5610 unsigned ConstructKind, SourceRange ParenRange);
|