Home
last modified time | relevance | path

Searched refs:ParenRange (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp96 SourceRange ParenRange) { in SuggestParentheses() argument
97 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
98 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
106 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp3449 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction() local
3454 << ParenRange; in warnAboutAmbiguousFunction()
3501 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction()
3504 S.getFixItZeroInitializerForType(RT, ParenRange.getBegin()); in warnAboutAmbiguousFunction()
3509 << FixItHint::CreateReplacement(ParenRange, Init); in warnAboutAmbiguousFunction()
3593 SourceRange ParenRange(Paren.Loc, Paren.EndLoc); in warnAboutRedundantParens() local
3609 << ParenRange << FixItHint::CreateRemoval(Paren.Loc) in warnAboutRedundantParens()
3615 << ParenRange << D.getIdentifier(); in warnAboutRedundantParens()
H A DSemaDeclCXX.cpp15921 CXXConstructionKind ConstructKind, SourceRange ParenRange) { in BuildCXXConstructExpr() argument
15955 ConstructKind, ParenRange); in BuildCXXConstructExpr()
15963 CXXConstructionKind ConstructKind, SourceRange ParenRange) { in BuildCXXConstructExpr() argument
15976 RequiresZeroInit, ConstructKind, ParenRange); in BuildCXXConstructExpr()
15986 CXXConstructionKind ConstructKind, SourceRange ParenRange) { in BuildCXXConstructExpr() argument
16000 static_cast<CXXConstructionKind>(ConstructKind), ParenRange), in BuildCXXConstructExpr()
H A DSemaInit.cpp7559 SourceRange ParenRange = Kind.getParenOrBraceRange(); in Perform() local
7560 return S.ActOnParenListExpr(ParenRange.getBegin(), ParenRange.getEnd(), in Perform()
H A DSemaExpr.cpp8523 SourceRange ParenRange) { in SuggestParentheses() argument
8524 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
8525 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()
8528 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
8532 Self.Diag(Loc, Note) << ParenRange; in SuggestParentheses()
H A DTreeTransform.h3514 SourceRange ParenRange) { in RebuildCXXConstructExpr() argument
3533 ParenRange); in RebuildCXXConstructExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4961 CXXConstructionKind ConstructKind, SourceRange ParenRange);
4970 CXXConstructionKind ConstructKind, SourceRange ParenRange);
4979 CXXConstructionKind ConstructKind, SourceRange ParenRange);
/freebsd/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1266 SourceRange ParenRange);