Home
last modified time | relevance | path

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

/external/clang/unittests/AST/
DSourceLocationTest.cpp98 TEST(CXXNewExpr, ParenRange) { in TEST() argument
/external/clang/lib/Parse/
DParser.cpp89 SourceRange ParenRange) { in SuggestParentheses() argument
90 SourceLocation EndLoc = PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
91 if (!ParenRange.getEnd().isFileID() || EndLoc.isInvalid()) { in SuggestParentheses()
99 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
/external/clang/lib/Sema/
DSemaType.cpp2371 SourceRange ParenRange(DeclType.Loc, DeclType.EndLoc); in warnAboutAmbiguousFunction() local
2376 << ParenRange; in warnAboutAmbiguousFunction()
2422 << FixItHint::CreateRemoval(ParenRange); in warnAboutAmbiguousFunction()
2425 S.getFixItZeroInitializerForType(RT, ParenRange.getBegin()); in warnAboutAmbiguousFunction()
2430 << FixItHint::CreateReplacement(ParenRange, Init); in warnAboutAmbiguousFunction()
DSemaInit.cpp5698 SourceRange ParenRange = Kind.getParenRange(); in Perform() local
5699 return S.ActOnParenListExpr(ParenRange.getBegin(), ParenRange.getEnd(), in Perform()
DSemaExpr.cpp5951 SourceRange ParenRange) { in SuggestParentheses() argument
5952 SourceLocation EndLoc = Self.PP.getLocForEndOfToken(ParenRange.getEnd()); in SuggestParentheses()
5953 if (ParenRange.getBegin().isFileID() && ParenRange.getEnd().isFileID() && in SuggestParentheses()
5956 << FixItHint::CreateInsertion(ParenRange.getBegin(), "(") in SuggestParentheses()
5960 Self.Diag(Loc, Note) << ParenRange; in SuggestParentheses()
DSemaDeclCXX.cpp10714 SourceRange ParenRange) { in BuildCXXConstructExpr() argument
10736 ConstructKind, ParenRange); in BuildCXXConstructExpr()
10749 SourceRange ParenRange) { in BuildCXXConstructExpr() argument
10755 ParenRange); in BuildCXXConstructExpr()
DTreeTransform.h2380 SourceRange ParenRange) { in RebuildCXXConstructExpr() argument
2391 ParenRange); in RebuildCXXConstructExpr()
/external/clang/include/clang/Parse/
DParser.h824 SourceRange ParenRange);
/external/clang/include/clang/Sema/
DSema.h3862 SourceRange ParenRange);
3871 unsigned ConstructKind, SourceRange ParenRange);