Home
last modified time | relevance | path

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

/external/clang/lib/Parse/
DParser.cpp109 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/clang/unittests/AST/
DSourceLocationTest.cpp98 TEST(CXXNewExpr, ParenRange) { in TEST() argument
/external/clang/lib/Sema/
DSemaType.cpp2841 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction() local
2846 << ParenRange; in warnAboutAmbiguousFunction()
2892 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction()
2895 S.getFixItZeroInitializerForType(RT, ParenRange.getBegin()); in warnAboutAmbiguousFunction()
2900 << FixItHint::CreateReplacement(ParenRange, Init); in warnAboutAmbiguousFunction()
DSemaInit.cpp6113 SourceRange ParenRange = Kind.getParenRange(); in Perform() local
6114 return S.ActOnParenListExpr(ParenRange.getBegin(), ParenRange.getEnd(), in Perform()
DSemaExpr.cpp6503 SourceRange ParenRange) { in SuggestParentheses() argument
6504 SourceLocation EndLoc = Self.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
6505 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()
6508 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
6512 Self.Diag(Loc, Note) << ParenRange; in SuggestParentheses()
DSemaDeclCXX.cpp11306 SourceRange ParenRange) { in BuildCXXConstructExpr() argument
11329 ConstructKind, ParenRange); in BuildCXXConstructExpr()
11343 SourceRange ParenRange) { in BuildCXXConstructExpr() argument
11350 ParenRange); in BuildCXXConstructExpr()
DTreeTransform.h2629 SourceRange ParenRange) { in RebuildCXXConstructExpr() argument
2641 ParenRange); in RebuildCXXConstructExpr()
/external/clang/include/clang/Parse/
DParser.h835 SourceRange ParenRange);
/external/clang/include/clang/Sema/
DSema.h4198 SourceRange ParenRange);
4208 unsigned ConstructKind, SourceRange ParenRange);