/external/clang/include/clang/AST/ |
ExprObjC.h | 64 SourceLocation Loc; 68 false, false), Value(val), Loc(l) {} 76 SourceRange getSourceRange() const LLVM_READONLY { return SourceRange(Loc); } 78 SourceLocation getLocation() const { return Loc; } 79 void setLocation(SourceLocation L) { Loc = L; } 459 SourceLocation Loc; 471 D(d), Base(base), Loc(l), IsArrow(arrow), IsFreeIvar(freeIvar) {} 489 SourceLocation getLocation() const { return Loc; } 490 void setLocation(SourceLocation L) { Loc = L; } 493 return isFreeIvar() ? SourceRange(Loc) [all...] |
Stmt.h | 813 AttributedStmt(SourceLocation loc, const AttrVec &attrs, Stmt *substmt) 814 : Stmt(AttributedStmtClass), SubStmt(substmt), AttrLoc(loc), Attrs(attrs) { [all...] |
/external/clang/include/clang/Basic/ |
Diagnostic.h | 223 /// modified because of a pragma. 'Loc' can be null if the point represents 227 FullSourceLoc Loc; 228 DiagStatePoint(DiagState *State, FullSourceLoc Loc) 229 : State(State), Loc(Loc) { } 232 // If Loc is invalid it means it came from <command-line>, in which case 234 if (RHS.Loc.isInvalid()) 236 if (Loc.isInvalid()) 238 return Loc.isBeforeInTranslationUnitThan(RHS.Loc); [all...] |
/external/clang/include/clang/Serialization/ |
ASTReader.h | [all...] |
/external/clang/lib/Analysis/ |
ThreadSafety.cpp | 249 SourceLocation Loc; 251 Loc = DeclExp->getExprLoc(); 254 if (Loc.isValid()) 255 Handler.handleInvalidLockExp(Loc); [all...] |
/external/clang/lib/CodeGen/ |
CGBlocks.cpp | [all...] |
CodeGenModule.cpp | 200 void CodeGenModule::Error(SourceLocation loc, StringRef error) { 202 getDiags().Report(Context.getFullLoc(loc), diagID); 715 llvm::Constant *CodeGenModule::EmitAnnotationUnit(SourceLocation Loc) { 717 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 720 return EmitAnnotationString(SM.getBufferName(Loc)); [all...] |
CGDebugInfo.cpp | 52 void CGDebugInfo::setLocation(SourceLocation Loc) { 54 if (!Loc.isValid()) return; 56 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc); 211 llvm::DIFile CGDebugInfo::getOrCreateFile(SourceLocation Loc) { 212 if (!Loc.isValid()) 217 PresumedLoc PLoc = SM.getPresumedLoc(Loc); 247 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) { 248 if (Loc.isInvalid() && CurLoc.isInvalid()) 251 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc) 2410 SourceLocation loc = blockDecl->getCaretLocation(); local [all...] |
/external/clang/lib/Frontend/ |
ASTUnit.cpp | [all...] |
/external/clang/lib/Lex/ |
Lexer.cpp | 161 /// spelling loc that indicates the bytes to be lexed for the token and an 241 StringRef Lexer::getSpelling(SourceLocation loc, 247 std::pair<FileID, unsigned> locInfo = SM.getDecomposedLoc(loc); 389 unsigned Lexer::MeasureTokenLength(SourceLocation Loc, 400 Loc = SM.getExpansionLoc(Loc); 401 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); 421 static SourceLocation getBeginningOfFileToken(SourceLocation Loc, 424 assert(Loc.isFileID()); 425 std::pair<FileID, unsigned> LocInfo = SM.getDecomposedLoc(Loc); [all...] |
/external/clang/lib/Parse/ |
ParseDecl.cpp | 164 SourceLocation Loc = Tok.getLocation(); 169 *endLoc = Loc; 194 ConsumeParen(); // ignore the left paren loc for now 373 SourceLocation Loc = Tok.getLocation(); 380 PP.getIdentifierInfo("address_space"), Loc, 0); 386 PP.getIdentifierInfo("address_space"), Loc, LangAS::opencl_global); 392 PP.getIdentifierInfo("address_space"), Loc, LangAS::opencl_local); 398 PP.getIdentifierInfo("address_space"), Loc, LangAS::opencl_constant); 404 PP.getIdentifierInfo("opencl_image_access"), Loc, CLIA_read_only); 410 PP.getIdentifierInfo("opencl_image_access"), Loc, CLIA_write_only) [all...] |
ParseObjc.cpp | [all...] |
/external/clang/lib/Sema/ |
SemaExprObjC.cpp | 145 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc, 154 S.Diag(Loc, diag::err_invalid_nsnumber_type) 174 Loc, Sema::LookupOrdinaryName); 185 S.Diag(Loc, diag::err_undeclared_nsnumber); 189 S.Diag(Loc, diag::err_undeclared_nsnumber); 217 S.Diag(Loc, diag::err_undeclared_nsnumber_method) << Sel; 223 S.Diag(Loc, diag::err_objc_literal_method_sig) 2788 SourceLocation loc = local 2910 SourceLocation loc = local [all...] |
SemaStmt.cpp | 100 SourceLocation Loc; 107 Loc = Op->getOperatorLoc(); 115 Loc = Op->getOperatorLoc(); 125 if (Loc.isMacroID()) 128 S.Diag(Loc, diag::warn_unused_comparison) 135 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign) 136 << FixItHint::CreateReplacement(Loc, "|="); 138 S.Diag(Loc, diag::note_equality_comparison_to_assign) 139 << FixItHint::CreateReplacement(Loc, "="); 153 SourceLocation Loc; [all...] |
SemaTemplateDeduction.cpp | [all...] |
SemaTemplateInstantiateDecl.cpp | [all...] |
SemaInit.cpp | 280 SourceLocation Loc; 281 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, 292 SourceLocation Loc = ILE->getLocStart(); 305 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized) 314 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc, 357 SourceLocation Loc = ILE->getLocStart() [all...] |
SemaType.cpp | 78 SourceLocation loc = attr.getLoc(); local 82 if (useExpansionLoc && loc.isMacroID() && attr.getParameterName()) { 84 if (S.findMacroSpelling(loc, "__strong")) name = "__strong"; 86 if (S.findMacroSpelling(loc, "__weak")) name = "__weak"; 90 S.Diag(loc, diagID) << name << type; 552 SourceLocation loc = declarator.getLocStart(); 565 /*parens*/ loc, loc, [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
BugReporter.cpp | 247 const PathDiagnosticLocation &Loc = ExecutionContinues(N); 249 if (Loc.asStmt()) 251 << getSourceManager().getExpansionLineNumber(Loc.asLocation()) 267 return Loc; [all...] |
ExprEngine.cpp | 127 SVal V = state->getSVal(loc::MemRegionVal(R)); 150 SVal V = state->getSVal(loc::MemRegionVal(R)); 152 if (const Loc *LV = dyn_cast<Loc>(&V)) { 166 loc::MemRegionVal L(getCXXThisRegion(MD, SFC)); 168 if (const Loc *LV = dyn_cast<Loc>(&V)) { 449 Loc dest = state->getLValue(varDecl, Pred->getLocationContext()); 451 VisitCXXDestructor(dtorDecl, cast<loc::MemRegionVal>(dest).getRegion(), [all...] |
/external/llvm/lib/MC/MCParser/ |
AsmParser.cpp | 188 void PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, 190 SrcMgr.PrintMessage(Loc, Kind, Msg, Ranges); 200 /// \brief Reset the current lexer position to that given by \arg Loc. The 203 void JumpToLoc(SMLoc Loc); 284 AddDirectiveHandler<&GenericAsmParser::ParseDirectiveLoc>(".loc"); 473 void AsmParser::JumpToLoc(SMLoc Loc) { 474 CurBuffer = SrcMgr.FindBufferContainingLoc(Loc); 475 Lexer.setBuffer(SrcMgr.getMemoryBuffer(CurBuffer), Loc.getPointer()); 690 SMLoc Loc = getTok().getLoc(); 704 return Error(Loc, "invalid reference to undefined symbol") [all...] |
/external/llvm/lib/Target/ARM/ |
ARMLoadStoreOptimizer.cpp | 413 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; 414 ++Loc; 415 if (!MergeOps(MBB, Loc, Offset, Base, BaseKill, Opcode, 420 Merges.push_back(prior(Loc)); 455 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI; 456 DebugLoc dl = Loc->getDebugLoc(); 457 const MachineOperand &PMO = Loc->getOperand(0); 511 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1; [all...] |
/external/llvm/lib/Transforms/Scalar/ |
GVN.cpp | [all...] |
/external/clang/lib/AST/ |
ASTImporter.cpp | 84 SourceLocation &Loc); 225 DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID) { 226 return C1.getDiagnostics().Report(Loc, DiagID); 229 DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID) { 230 return C2.getDiagnostics().Report(Loc, DiagID); [all...] |
/external/clang/lib/Serialization/ |
ASTReaderDecl.cpp | [all...] |