HomeSort by relevance Sort by last modified time
    Searched defs:Loc (Results 126 - 150 of 171) sorted by null

1 2 3 4 56 7

  /external/clang/lib/Sema/
SemaExprObjC.cpp 145 static bool validateBoxingMethod(Sema &S, SourceLocation Loc,
150 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName();
157 S.Diag(Loc, diag::err_objc_literal_method_sig)
169 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc,
178 S.Diag(Loc, diag::err_invalid_nsnumber_type)
199 Loc, Sema::LookupOrdinaryName);
210 S.Diag(Loc, diag::err_undeclared_nsnumber);
214 S.Diag(Loc, diag::err_undeclared_nsnumber);
245 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method))
2928 SourceLocation loc = local
3074 SourceLocation loc = local
    [all...]
SemaTemplateDeduction.cpp     [all...]
SemaTemplateInstantiateDecl.cpp     [all...]
SemaStmt.cpp 108 SourceLocation Loc;
115 Loc = Op->getOperatorLoc();
123 Loc = Op->getOperatorLoc();
133 if (S.SourceMgr.isMacroBodyExpansion(Loc))
136 S.Diag(Loc, diag::warn_unused_comparison)
143 S.Diag(Loc, diag::note_inequality_comparison_to_or_assign)
144 << FixItHint::CreateReplacement(Loc, "|=");
146 S.Diag(Loc, diag::note_equality_comparison_to_assign)
147 << FixItHint::CreateReplacement(Loc, "=");
171 SourceLocation Loc;
    [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;
663 SourceLocation loc = declarator.getLocStart();
687 loc, loc, declarator));
    [all...]
SemaCodeComplete.cpp     [all...]
SemaInit.cpp 279 SourceLocation Loc;
280 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc,
291 SourceLocation Loc = ILE->getLocStart();
304 SemaRef.Diag(Loc, diag::err_init_reference_member_uninitialized)
313 InitializationKind Kind = InitializationKind::CreateValue(Loc, Loc, Loc,
356 SourceLocation Loc = ILE->getLocStart()
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
BugReporter.cpp 373 const PathDiagnosticLocation &Loc = ExecutionContinues(N);
375 if (Loc.asStmt())
377 << getSourceManager().getExpansionLineNumber(Loc.asLocation())
393 return Loc;
    [all...]
ExprEngine.cpp 116 SVal V = state->getSVal(loc::MemRegionVal(R));
139 SVal V = state->getSVal(loc::MemRegionVal(R));
141 if (Optional<Loc> LV = V.getAs<Loc>()) {
155 loc::MemRegionVal L = svalBuilder.getCXXThis(MD, SFC);
157 if (Optional<Loc> LV = V.getAs<Loc>()) {
199 SVal Reg = loc::MemRegionVal(MRMgr.getCXXTempObjectRegion(Inner, LC));
499 Loc dest = state->getLValue(varDecl, Pred->getLocationContext());
501 VisitCXXDestructor(varType, dest.castAs<loc::MemRegionVal>().getRegion()
    [all...]
  /external/llvm/lib/Target/AArch64/AsmParser/
AArch64AsmParser.cpp     [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);
509 bool BaseKill = Loc->findRegisterUseOperandIdx(Base, true) != -1;
    [all...]
  /external/llvm/lib/Target/Mips/AsmParser/
MipsAsmParser.cpp     [all...]
  /external/llvm/lib/Target/X86/AsmParser/
X86AsmParser.cpp 51 X86Operand *ErrorOperand(SMLoc Loc, StringRef Msg) {
52 Error(Loc, Msg);
475 static X86Operand *CreateToken(StringRef Str, SMLoc Loc) {
476 SMLoc EndLoc = SMLoc::getFromPointer(Loc.getPointer() + Str.size());
477 X86Operand *Res = new X86Operand(Token, Loc, EndLoc);
930 // If we parsed a register, then the end loc has already been set and
    [all...]
  /external/llvm/lib/Transforms/Scalar/
GVN.cpp     [all...]
  /external/llvm/utils/TableGen/
CodeGenRegisters.cpp 309 ArrayRef<SMLoc> Loc;
311 Loc = TheDef->getLoc();
312 PrintFatalError(Loc, "Register " + getName() +
321 ArrayRef<SMLoc> Loc;
323 Loc = TheDef->getLoc();
324 PrintFatalError(Loc, "Sub-register can't have two names: " +
    [all...]
  /external/clang/include/clang/Serialization/
ASTReader.h 473 unsigned Loc;
483 HiddenName(Decl *D) : Kind(Declaration), Loc(), D(D), Id() { }
486 : Kind(MacroVisibility), Loc(), MD(MD), Id(II) { }
488 HiddenName(IdentifierInfo *II, MacroDirective *MD, SourceLocation Loc)
489 : Kind(MacroUndef), Loc(Loc.getRawEncoding()), MD(MD), Id(II) { }
506 return SourceLocation::getFromRawEncoding(Loc);
    [all...]
  /external/clang/lib/AST/
ASTImporter.cpp 83 SourceLocation &Loc);
234 DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID) {
239 return C1.getDiagnostics().Report(Loc, DiagID);
242 DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID) {
247 return C2.getDiagnostics().Report(Loc, DiagID);
    [all...]
  /external/clang/lib/Analysis/
ThreadSafety.cpp 579 SourceLocation Loc;
581 Loc = DeclExp->getExprLoc();
584 if (Loc.isValid())
585 Handler.handleInvalidLockExp(Loc);
    [all...]
  /external/clang/lib/CodeGen/
CGDebugInfo.cpp 53 void CGDebugInfo::setLocation(SourceLocation Loc) {
55 if (!Loc.isValid()) return;
57 CurLoc = CGM.getContext().getSourceManager().getExpansionLoc(Loc);
220 llvm::DIFile CGDebugInfo::getOrCreateFile(SourceLocation Loc) {
221 if (!Loc.isValid())
226 PresumedLoc PLoc = SM.getPresumedLoc(Loc);
256 unsigned CGDebugInfo::getLineNumber(SourceLocation Loc) {
257 if (Loc.isInvalid() && CurLoc.isInvalid())
260 PresumedLoc PLoc = SM.getPresumedLoc(Loc.isValid() ? Loc : CurLoc)
2691 SourceLocation loc = blockDecl->getCaretLocation(); local
    [all...]
CodeGenModule.cpp 238 void CodeGenModule::Error(SourceLocation loc, StringRef error) {
240 getDiags().Report(Context.getFullLoc(loc), diagID);
    [all...]
CGExpr.cpp 501 void CodeGenFunction::EmitTypeCheck(TypeCheckKind TCK, SourceLocation Loc,
567 EmitCheckSourceLocation(Loc),
626 EmitCheckSourceLocation(Loc),
    [all...]
  /external/clang/lib/Parse/
ParseDecl.cpp 172 SourceLocation Loc = Tok.getLocation();
177 *endLoc = Loc;
211 ConsumeParen(); // ignore the left paren loc for now
374 SourceLocation Loc,
383 ParseMicrosoftDeclSpecWithSingleArg(Ident, Loc, Attrs);
389 ParseMicrosoftDeclSpecWithSingleArg(Ident, Loc, Attrs);
391 Attrs.addNew(Ident, Loc, 0, Loc, 0, SourceLocation(), 0, 0,
416 Diag(Loc, diag::warn_ms_declspec_unknown) << Ident;
522 SourceLocation Loc = Tok.getLocation()
    [all...]
  /external/clang/lib/Serialization/
ASTReaderDecl.cpp     [all...]
  /external/clang/include/clang/AST/
Expr.h 233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
294 /// \param Loc [in,out] - A source location which *may* be filled
298 SourceLocation *Loc = 0) const;
385 /// \param Loc A source location that might be filled with a relevant location
387 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{
388 return ClassifyImpl(Ctx, &Loc);
426 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
469 /// valid i-c-e, return false and fill in Loc (if specified) with the location
475 SourceLocation *Loc = 0,
477 bool isIntegerConstantExpr(ASTContext &Ctx, SourceLocation *Loc = 0) const
    [all...]
Stmt.h 556 explicit CompoundStmt(SourceLocation Loc)
557 : Stmt(CompoundStmtClass), Body(0), LBracLoc(Loc), RBracLoc(Loc) {
814 AttributedStmt(SourceLocation Loc, ArrayRef<const Attr*> Attrs, Stmt *SubStmt)
815 : Stmt(AttributedStmtClass), SubStmt(SubStmt), AttrLoc(Loc),
826 static AttributedStmt *Create(ASTContext &C, SourceLocation Loc,
    [all...]

Completed in 1828 milliseconds

1 2 3 4 56 7