Home
last modified time | relevance | path

Searched refs:LLoc (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/clang/lib/Rewrite/
DHTMLRewrite.cpp610 CharSourceRange LLoc = SM.getExpansionRange(Tok.getLocation()); in HighlightMacros() local
613 if (SM.getFileID(LLoc.getBegin()) != FID) { in HighlightMacros()
618 assert(SM.getFileID(LLoc.getEnd()) == FID && in HighlightMacros()
633 SM.getExpansionLoc(Tok.getLocation()) == LLoc.getBegin()) { in HighlightMacros()
661 HighlightRange(R, LLoc.getBegin(), LLoc.getEnd(), "<span class='macro'>", in HighlightMacros()
662 Expansion.c_str(), LLoc.isTokenRange()); in HighlightMacros()
/external/clang/lib/Rewrite/
DHTMLRewrite.cpp522 std::pair<SourceLocation, SourceLocation> LLoc = in HighlightMacros() local
526 if (SM.getFileID(LLoc.first) != FID) { in HighlightMacros()
531 assert(SM.getFileID(LLoc.second) == FID && in HighlightMacros()
546 SM.getExpansionLoc(Tok.getLocation()) == LLoc.first) { in HighlightMacros()
575 HighlightRange(R, LLoc.first, LLoc.second, in HighlightMacros()
/external/clang/lib/Sema/
DSemaOverload.cpp9975 SourceLocation LLoc = GetLocationForCandidate(L); in operator ()() local
9979 if (LLoc.isInvalid()) return false; in operator ()()
9982 return S.SourceMgr.isBeforeInTranslationUnit(LLoc, RLoc); in operator ()()
10166 SourceLocation LLoc = GetLocationForCandidate(L); in operator ()() local
10170 if (LLoc.isInvalid()) in operator ()()
10175 return S.SourceMgr.isBeforeInTranslationUnit(LLoc, RLoc); in operator ()()
11956 Sema::CreateOverloadedArraySubscriptExpr(SourceLocation LLoc, in CreateOverloadedArraySubscriptExpr() argument
11969 DeclarationNameInfo OpNameInfo(OpName, LLoc); in CreateOverloadedArraySubscriptExpr()
11970 OpNameInfo.setCXXOperatorNameRange(SourceRange(LLoc, RLoc)); in CreateOverloadedArraySubscriptExpr()
11991 OverloadCandidateSet CandidateSet(LLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedArraySubscriptExpr()
[all …]
DSemaExpr.cpp4357 Sema::CreateBuiltinArraySubscriptExpr(Expr *Base, SourceLocation LLoc, in CreateBuiltinArraySubscriptExpr() argument
4416 Diag(LLoc, diag::err_subscript_nonfragile_interface) in CreateBuiltinArraySubscriptExpr()
4456 return ExprError(Diag(LLoc, diag::err_typecheck_subscript_value) in CreateBuiltinArraySubscriptExpr()
4461 return ExprError(Diag(LLoc, diag::err_typecheck_subscript_not_integer) in CreateBuiltinArraySubscriptExpr()
4467 Diag(LLoc, diag::warn_subscript_is_char) << IndexExpr->getSourceRange(); in CreateBuiltinArraySubscriptExpr()
4481 Diag(LLoc, diag::ext_gnu_subscript_void_type) in CreateBuiltinArraySubscriptExpr()
4488 RequireCompleteType(LLoc, ResultType, in CreateBuiltinArraySubscriptExpr()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp258 MemoryLocation LLoc = MemoryLocation::get(Lhs_.LoadI); in canSinkBCECmpInst() local
260 if (isModSet(AA.getModRefInfo(Inst, LLoc)) || in canSinkBCECmpInst()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DMergeICmps.cpp258 MemoryLocation LLoc = MemoryLocation::get(Lhs_.LoadI); in canSinkBCECmpInst() local
260 if (isModSet(AA.getModRefInfo(Inst, LLoc)) || in canSinkBCECmpInst()
/external/llvm-project/clang/lib/Sema/
DSemaOverload.cpp11486 SourceLocation LLoc = GetLocationForCandidate(L); in operator ()() local
11490 if (LLoc.isInvalid()) return false; in operator ()()
11493 return S.SourceMgr.isBeforeInTranslationUnit(LLoc, RLoc); in operator ()()
11742 SourceLocation LLoc = GetLocationForCandidate(L); in operator ()() local
11746 if (LLoc.isInvalid()) in operator ()()
11751 return S.SourceMgr.isBeforeInTranslationUnit(LLoc, RLoc); in operator ()()
13985 Sema::CreateOverloadedArraySubscriptExpr(SourceLocation LLoc, in CreateOverloadedArraySubscriptExpr() argument
13998 DeclarationNameInfo OpNameInfo(OpName, LLoc); in CreateOverloadedArraySubscriptExpr()
13999 OpNameInfo.setCXXOperatorNameRange(SourceRange(LLoc, RLoc)); in CreateOverloadedArraySubscriptExpr()
14018 OverloadCandidateSet CandidateSet(LLoc, OverloadCandidateSet::CSK_Operator); in CreateOverloadedArraySubscriptExpr()
[all …]
DSemaExpr.cpp5114 SourceLocation LLoc, SourceLocation RLoc, in ActOnOMPIteratorExpr() argument
5396 LLoc, RLoc, ID, Helpers); in ActOnOMPIteratorExpr()
5400 Sema::CreateBuiltinArraySubscriptExpr(Expr *Base, SourceLocation LLoc, in CreateBuiltinArraySubscriptExpr() argument
5470 Diag(LLoc, diag::err_subscript_nonfragile_interface) in CreateBuiltinArraySubscriptExpr()
5522 return ExprError(Diag(LLoc, diag::err_typecheck_subscript_value) in CreateBuiltinArraySubscriptExpr()
5527 return ExprError(Diag(LLoc, diag::err_typecheck_subscript_not_integer) in CreateBuiltinArraySubscriptExpr()
5533 Diag(LLoc, diag::warn_subscript_is_char) << IndexExpr->getSourceRange(); in CreateBuiltinArraySubscriptExpr()
5547 Diag(LLoc, diag::ext_gnu_subscript_void_type) in CreateBuiltinArraySubscriptExpr()
5555 LLoc, ResultType, in CreateBuiltinArraySubscriptExpr()
DTreeTransform.h2477 SourceLocation IteratorKwLoc, SourceLocation LLoc, SourceLocation RLoc, in RebuildOMPIteratorExpr() argument
2480 LLoc, RLoc, Data); in RebuildOMPIteratorExpr()
/external/clang/lib/Parse/
DParseOpenMP.cpp1264 SourceLocation LLoc = Tok.getLocation(); in ParseOpenMPSingleExprClause() local
1272 return Actions.ActOnOpenMPSingleExprClause(Kind, Val.get(), Loc, LLoc, RLoc); in ParseOpenMPSingleExprClause()
/external/llvm-project/clang/lib/Parse/
DParseOpenMP.cpp2838 SourceLocation LLoc = Tok.getLocation(); in ParseOpenMPSingleExprClause() local
2848 return Actions.ActOnOpenMPSingleExprClause(Kind, Val.get(), Loc, LLoc, RLoc); in ParseOpenMPSingleExprClause()
3269 SourceLocation LLoc = T.getOpenLocation(); in ParseOpenMPIteratorsExpr() local
3361 return Actions.ActOnOMPIteratorExpr(getCurScope(), IteratorKwLoc, LLoc, RLoc, in ParseOpenMPIteratorsExpr()
/external/clang/include/clang/AST/
DExpr.h3343 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() argument
3347 AmpAmpLoc(AALoc), LabelLoc(LLoc), Label(L) {} in AddrLabelExpr()
/external/llvm-project/clang/include/clang/Sema/
DSema.h3722 ExprResult CreateOverloadedArraySubscriptExpr(SourceLocation LLoc,
5112 ExprResult ActOnArraySubscriptExpr(Scope *S, Expr *Base, SourceLocation LLoc,
5114 ExprResult CreateBuiltinArraySubscriptExpr(Expr *Base, SourceLocation LLoc,
5144 SourceLocation LLoc, SourceLocation RLoc,
/external/llvm-project/clang/include/clang/AST/
DExpr.h4228 AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L, in AddrLabelExpr() argument
4231 LabelLoc(LLoc), Label(L) { in AddrLabelExpr()
/external/clang/include/clang/Sema/
DSema.h2641 ExprResult CreateOverloadedArraySubscriptExpr(SourceLocation LLoc,
3927 ExprResult ActOnArraySubscriptExpr(Scope *S, Expr *Base, SourceLocation LLoc,
3929 ExprResult CreateBuiltinArraySubscriptExpr(Expr *Base, SourceLocation LLoc,