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.cpp3054 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()
DSemaDeclCXX.cpp11441 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()
DSemaInit.cpp6275 SourceRange ParenRange = Kind.getParenRange(); in Perform() local
6276 return S.ActOnParenListExpr(ParenRange.getBegin(), ParenRange.getEnd(), in Perform()
DSemaExpr.cpp6891 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()
DTreeTransform.h2702 SourceRange ParenRange) { in RebuildCXXConstructExpr() argument
2715 ParenRange); in RebuildCXXConstructExpr()
/external/clang/include/clang/Parse/
DParser.h857 SourceRange ParenRange);
/external/clang/include/clang/Sema/
DSema.h4299 SourceRange ParenRange);
4310 SourceRange ParenRange);
4321 unsigned ConstructKind, SourceRange ParenRange);