HomeSort by relevance Sort by last modified time
    Searched refs:Loc (Results 176 - 200 of 431) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/clang/lib/AST/
ExprClassification.cpp 35 Cl::Kinds Kind, SourceLocation &Loc);
37 Cl Expr::ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const {
71 if (Loc)
72 modifiable = IsModifiable(Ctx, this, kind, *Loc);
571 Cl::Kinds Kind, SourceLocation &Loc) {
580 Loc = CE->getExprLoc();
648 Expr::isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc) const {
650 Classification VC = ClassifyModifiable(Ctx, Loc ? *Loc : dummy);
ExprCXX.cpp 488 return Loc;
498 SourceLocation End = Loc;
772 CXXDefaultArgExpr::Create(const ASTContext &C, SourceLocation Loc,
775 return new (Mem) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param,
779 CXXDefaultInitExpr::CXXDefaultInitExpr(const ASTContext &C, SourceLocation Loc,
786 Field(Field), Loc(Loc) {
    [all...]
  /external/clang/lib/Sema/
SemaTemplateInstantiate.cpp 643 SourceLocation Loc;
651 SourceLocation Loc,
653 : inherited(SemaRef), TemplateArgs(TemplateArgs), Loc(Loc),
664 SourceLocation getBaseLocation() { return Loc; }
671 void setBase(SourceLocation Loc, DeclarationName Entity) {
672 this->Loc = Loc;
726 Decl *TransformDecl(SourceLocation Loc, Decl *D);
738 Decl *TransformDefinition(SourceLocation Loc, Decl *D)
    [all...]
SemaDeclCXX.cpp     [all...]
SemaExprObjC.cpp 149 static bool validateBoxingMethod(Sema &S, SourceLocation Loc,
154 S.Diag(Loc, diag::err_undeclared_boxing_method) << Sel << Class->getName();
161 S.Diag(Loc, diag::err_objc_literal_method_sig)
173 static ObjCMethodDecl *getNSNumberFactoryMethod(Sema &S, SourceLocation Loc,
182 S.Diag(Loc, diag::err_invalid_nsnumber_type)
203 Loc, Sema::LookupOrdinaryName);
214 S.Diag(Loc, diag::err_undeclared_nsnumber);
218 S.Diag(Loc, diag::err_undeclared_nsnumber);
248 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method))
1225 SourceLocation loc; local
3167 SourceLocation loc = local
3689 SourceLocation loc = local
    [all...]
SemaAttr.cpp 462 SourceLocation Loc = PP.getPragmaARCCFCodeAuditedLoc();
463 if (!Loc.isValid()) return;
470 D->addAttr(CFAuditedTransferAttr::CreateImplicit(Context, Loc));
488 SourceLocation Loc) {
496 FD->addAttr(OptimizeNoneAttr::CreateImplicit(Context, Loc));
498 FD->addAttr(NoInlineAttr::CreateImplicit(Context, Loc));
518 SourceLocation loc = Stack->back().second; local
520 D->addAttr(VisibilityAttr::CreateImplicit(Context, type, loc));
529 static void PushPragmaVisibility(Sema &S, unsigned type, SourceLocation loc) {
535 Stack->push_back(std::make_pair(type, loc));
    [all...]
  /external/llvm/lib/MC/MCParser/
DarwinAsmParser.cpp 433 bool DarwinAsmParser::parseDirectiveIndirectSymbol(StringRef, SMLoc Loc) {
440 return Error(Loc, "indirect symbol not in a symbol pointer or stub "
547 SMLoc Loc = getLexer().getLoc();
551 return Error(Loc, "expected identifier after '.section' directive");
580 return Error(Loc, ErrorStr.c_str());
593 bool DarwinAsmParser::parseDirectivePushSection(StringRef S, SMLoc Loc) {
596 if (parseDirectiveSection(S, Loc)) {
840 SMLoc Loc = getParser().getTok().getLoc();
849 return Error(Loc, "unknown region type in '.data_region' directive");
    [all...]
  /external/clang/lib/Lex/
LiteralSupport.cpp 80 FullSourceLoc Loc, unsigned CharWidth,
105 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
111 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
134 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
159 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
182 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
193 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
202 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
206 Diag(Diags, Features, Loc, ThisTokBegin, EscapeBegin, ThisTokBuf,
262 FullSourceLoc Loc, DiagnosticsEngine *Diags,
    [all...]
Preprocessor.cpp 214 void Preprocessor::DumpLocation(SourceLocation Loc) const {
215 Loc.dump(SourceMgr);
303 SourceLocation Loc,
312 Def = I->second->findDirectiveAtLoc(Loc, SourceMgr);
428 SourceLocation Loc = ScratchBuf->getToken(Str.data(), Str.size(), DestPtr);
431 Loc = SourceMgr.createExpansionLoc(Loc, ExpansionLocStart,
433 Tok.setLocation(Loc);
  /external/clang/include/clang/AST/
TemplateBase.h 533 void setLAngleLoc(SourceLocation Loc) { LAngleLoc = Loc; }
534 void setRAngleLoc(SourceLocation Loc) { RAngleLoc = Loc; }
550 void addArgument(const TemplateArgumentLoc &Loc) {
551 Arguments.push_back(Loc);
ExprObjC.h 62 SourceLocation Loc;
66 false, false), Value(val), Loc(l) {}
74 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
75 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
77 SourceLocation getLocation() const { return Loc; }
78 void setLocation(SourceLocation L) { Loc = L; }
468 SourceLocation Loc;
485 D(d), Base(base), Loc(l), OpLoc(oploc),
504 SourceLocation getLocation() const { return Loc; }
505 void setLocation(SourceLocation L) { Loc = L;
    [all...]
StmtOpenMP.h 135 /// \param Loc New starting location of directive.
137 void setLocStart(SourceLocation Loc) { StartLoc = Loc; }
140 /// \param Loc New ending location of directive.
142 void setLocEnd(SourceLocation Loc) { EndLoc = Loc; }
  /external/clang/include/clang/Serialization/
ASTBitCodes.h 181 unsigned Loc;
185 DeclOffset() : Loc(0), BitOffset(0) { }
186 DeclOffset(SourceLocation Loc, uint32_t BitOffset)
187 : Loc(Loc.getRawEncoding()),
190 Loc = L.getRawEncoding();
    [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
ProgramState.h 209 ProgramStateRef bindLoc(Loc location,
215 ProgramStateRef bindDefault(SVal loc, SVal V) const;
217 ProgramStateRef killBinding(Loc LV) const;
257 Loc getLValue(const VarDecl *D, const LocationContext *LC) const;
259 Loc getLValue(const CompoundLiteralExpr *literal,
281 SVal getSVal(Loc LV, QualType T = QualType()) const;
284 SVal getRawSVal(Loc LV, QualType T= QualType()) const;
518 SVal ArrayToPointer(Loc Array, QualType ElementTy) {
653 if (Optional<Loc> L = LV.getAs<Loc>())
    [all...]
SubEngine.h 129 processPointerEscapedOnBind(ProgramStateRef State, SVal Loc, SVal Val) = 0;
  /external/clang/lib/StaticAnalyzer/Core/
ExprEngine.cpp 120 SVal V = state->getSVal(loc::MemRegionVal(R));
143 SVal V = state->getSVal(loc::MemRegionVal(R));
145 if (Optional<Loc> LV = V.getAs<Loc>()) {
159 loc::MemRegionVal L = svalBuilder.getCXXThis(MD, SFC);
161 if (Optional<Loc> LV = V.getAs<Loc>()) {
186 // try to stuff a Loc into a non-pointer temporary region.
187 assert(!V.getAs<Loc>() || Loc::isLocType(Result->getType()) |
    [all...]
  /external/llvm/lib/Target/X86/AsmParser/
X86AsmParser.cpp 651 std::nullptr_t ErrorOperand(SMLoc Loc, StringRef Msg) {
652 Error(Loc, Msg);
656 std::unique_ptr<X86Operand> DefaultMemSIOperand(SMLoc Loc);
657 std::unique_ptr<X86Operand> DefaultMemDIOperand(SMLoc Loc);
940 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemSIOperand(SMLoc Loc) {
945 /*IndexReg=*/0, /*Scale=*/1, Loc, Loc, 0);
948 std::unique_ptr<X86Operand> X86AsmParser::DefaultMemDIOperand(SMLoc Loc) {
953 /*IndexReg=*/0, /*Scale=*/1, Loc, Loc, 0)
    [all...]
  /external/clang/include/clang/Lex/
LiteralSupport.h 163 SourceLocation Loc, Preprocessor &PP,
255 void DiagnoseLexingError(SourceLocation Loc);
  /external/clang/lib/Index/
USRGeneration.cpp 27 static bool printLoc(llvm::raw_ostream &OS, SourceLocation Loc,
29 if (Loc.isInvalid()) {
32 Loc = SM.getExpansionLoc(Loc);
33 const std::pair<FileID, unsigned> &Decomposed = SM.getDecomposedLoc(Loc);
820 SourceLocation Loc = MD->getLocation();
821 bool ShouldGenerateLocation = !SM.isInSystemHeader(Loc);
825 printLoc(Out, Loc, SM, /*IncludeOffset=*/true);
  /external/clang/lib/Rewrite/Frontend/
InclusionRewriter.cpp 58 void FileChanged(SourceLocation Loc, FileChangeReason Reason,
82 const FileChange *FindFileChangeLocation(SourceLocation Loc) const;
139 void InclusionRewriter::FileChanged(SourceLocation Loc,
148 LastInsertedFileChange->second.Id = FullSourceLoc(Loc, SM).getFileID();
190 InclusionRewriter::FindFileChangeLocation(SourceLocation Loc) const {
191 FileChangeMap::const_iterator I = FileChanges.find(Loc.getRawEncoding());
448 SourceLocation Loc = RawToken.getLocation();
470 OutputContentUpTo(FromFile, NextToWrite, SM.getFileOffset(Loc),
  /external/clang/lib/StaticAnalyzer/Checkers/
CStringSyntaxChecker.cpp 144 PathDiagnosticLocation Loc =
161 "C String API", os.str(), Loc,
  /external/llvm/unittests/Support/
SourceMgrTest.cpp 39 void printMessage(SMLoc Loc, SourceMgr::DiagKind Kind,
43 SM.PrintMessage(OS, Loc, Kind, Msg, Ranges, FixIts);
  /external/clang/include/clang/Sema/
ExternalSemaSource.h 211 /// \param Loc the location at which a complete type was required but not
214 /// \param T the \c QualType that should have been complete at \p Loc
217 virtual bool MaybeDiagnoseMissingCompleteType(SourceLocation Loc,
  /external/llvm/lib/CodeGen/
MachineSSAUpdater.cpp 187 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin();
189 Loc, VRC, MRI, TII);
299 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin();
300 MachineInstr *PHI = InsertNewDef(TargetOpcode::PHI, BB, Loc,
  /external/llvm/lib/TableGen/
TGLexer.h 115 tgtok::TokKind ReturnError(const char *Loc, const Twine &Msg);

Completed in 5750 milliseconds

1 2 3 4 5 6 78 91011>>