Searched refs:Loc (Results 1 - 25 of 419) sorted by path

1234567891011>>

/external/bison/src/
H A Dcomplain.c90 #define ERROR_MESSAGE(Loc, Prefix, Message) \
94 error_message (Loc, Prefix, Message, args); \
H A Dparse-gram.c117 #define YY_LOCATION_PRINT(File, Loc) \
118 location_print (File, Loc)
1007 # define YY_LOCATION_PRINT(File, Loc) \
1009 fprintf (File, "%d.%d", (Loc).first_line, (Loc).first_column); \
1010 if ((Loc).first_line < (Loc).last_line) \
1011 fprintf (File, "-%d.%d", (Loc).last_line, (Loc).last_column - 1); \
1012 else if ((Loc)
[all...]
H A Dparse-gram.y41 #define YY_LOCATION_PRINT(File, Loc) \
42 location_print (File, Loc)
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DExpressionParser.cpp714 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/chromium_org/third_party/angle/src/compiler/translator/
H A Dglslang_tab.cpp1750 # define YY_LOCATION_PRINT(File, Loc) \
1751 yy_location_print_ (File, &(Loc))
1754 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/
H A Dglcpp-parse.c1088 # define YY_LOCATION_PRINT(File, Loc) \
1090 (Loc).first_line, (Loc).first_column, \
1091 (Loc).last_line, (Loc).last_column)
1093 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
H A Dglsl_parser.cc2193 # define YY_LOCATION_PRINT(File, Loc) \
2195 (Loc).first_line, (Loc).first_column, \
2196 (Loc).last_line, (Loc).last_column)
2198 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/chromium_org/third_party/mesa/src/chromium_gensrc/mesa/program/
H A Dprogram_parse.tab.c1486 # define YY_LOCATION_PRINT(File, Loc) \
1488 (Loc).first_line, (Loc).first_column, \
1489 (Loc).last_line, (Loc).last_column)
1491 # define YY_LOCATION_PRINT(File, Loc) ((void) 0)
/external/clang/include/clang/AST/
H A DASTContext.h513 FullSourceLoc getFullLoc(SourceLocation Loc) const {
514 return FullSourceLoc(Loc,SourceMgr);
2154 SourceLocation Loc = SourceLocation()) const;
H A DASTImporter.h254 DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID);
257 DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
H A DComment.h56 SourceLocation Loc; member in class:clang::comments::Comment
180 Loc = L;
198 Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
224 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
H A DCommentBriefParser.h39 SourceLocation Loc = Tok.getLocation(); local
41 return Loc;
H A DCommentLexer.h62 SourceLocation Loc; member in class:clang::comments::Token
82 SourceLocation getLocation() const LLVM_READONLY { return Loc; }
83 void setLocation(SourceLocation SL) { Loc = SL; }
87 return Loc;
88 return Loc.getLocWithOffset(Length - 1);
304 SourceLocation getSourceLocation(const char *Loc) const {
305 assert(Loc >= BufferStart && Loc <= BufferEnd &&
308 const unsigned CharNo = Loc - BufferStart;
312 DiagnosticBuilder Diag(SourceLocation Loc, unsigne argument
[all...]
H A DCommentParser.h48 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
49 return Diags.Report(Loc, DiagID);
H A DCommentSema.h64 DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) { argument
65 return Diags.Report(Loc, DiagID);
159 VerbatimBlockComment *actOnVerbatimBlockStart(SourceLocation Loc,
162 VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc,
H A DDataRecursiveASTVisitor.h384 TRY_TO(WalkUpFrom##BASE##Loc(TL)); \
958 bool RecursiveASTVisitor<Derived>::Traverse##TYPE##Loc(TYPE##Loc TL) { \
961 TRY_TO(WalkUpFrom##TYPE##Loc(TL)); \
H A DDeclBase.h236 /// Loc - The location of this decl.
237 SourceLocation Loc; member in class:clang::Decl
316 Loc(L), DeclKind(DK), InvalidDecl(0),
365 SourceLocation getLocation() const { return Loc; }
366 void setLocation(SourceLocation L) { Loc = L; }
992 SourceLocation Loc; member in class:clang::PrettyStackTraceDecl
998 : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
H A DDeclCXX.h682 TypeSourceInfo *Info, SourceLocation Loc,
2746 UsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc, argument
2748 : NamedDecl(UsingShadow, DC, Loc, DeclarationName()),
2771 SourceLocation Loc, UsingDecl *Using,
2773 return new (C, DC) UsingShadowDecl(C, DC, Loc, Using, Target);
2770 Create(ASTContext &C, DeclContext *DC, SourceLocation Loc, UsingDecl *Using, NamedDecl *Target) argument
H A DDeclObjC.h610 void setAtStartLoc(SourceLocation Loc) { AtStart = Loc; } argument
1327 void setSuperClassLoc(SourceLocation Loc) { data().SuperClassLoc = Loc; } argument
1819 void setCategoryNameLoc(SourceLocation Loc) { CategoryNameLoc = Loc; } argument
1821 void setIvarLBraceLoc(SourceLocation Loc) { IvarLBraceLoc = Loc; } argument
1823 void setIvarRBraceLoc(SourceLocation Loc) { IvarRBraceLoc = Loc; } argument
2110 setIvarLBraceLoc(SourceLocation Loc) argument
2112 setIvarRBraceLoc(SourceLocation Loc) argument
2410 setAtLoc(SourceLocation Loc) argument
[all...]
H A DDeclTemplate.h1519 void setPointOfInstantiation(SourceLocation Loc) { argument
1520 assert(Loc.isValid() && "point of instantiation must be valid!");
1521 PointOfInstantiation = Loc;
1609 void setExternLoc(SourceLocation Loc) { argument
1612 ExplicitInfo->ExternLoc = Loc;
1616 void setTemplateKeywordLoc(SourceLocation Loc) { argument
1619 ExplicitInfo->TemplateKeywordLoc = Loc;
2029 FriendTemplateDecl(DeclContext *DC, SourceLocation Loc, argument
2034 : Decl(Decl::FriendTemplate, DC, Loc),
2049 DeclContext *DC, SourceLocation Loc,
2190 ClassScopeFunctionSpecializationDecl(DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool Args, TemplateArgumentListInfo TemplArgs) argument
2209 Create(ASTContext &C, DeclContext *DC, SourceLocation Loc, CXXMethodDecl *FD, bool HasExplicitTemplateArgs, TemplateArgumentListInfo TemplateArgs) argument
2374 setPointOfInstantiation(SourceLocation Loc) argument
2468 setExternLoc(SourceLocation Loc) argument
2475 setTemplateKeywordLoc(SourceLocation Loc) argument
[all...]
H A DDeclarationName.h433 /// Loc - The main source location for the declaration name.
508 void setCXXLiteralOperatorNameLoc(SourceLocation Loc) { argument
510 LocInfo.CXXLiteralOperatorName.OpNameLoc = Loc.getRawEncoding();
H A DDependentDiagnostic.h41 SourceLocation Loc,
49 DD->AccessData.Loc = Loc.getRawEncoding();
74 return SourceLocation::getFromRawEncoding(AccessData.Loc);
112 unsigned Loc; member in struct:clang::DependentDiagnostic::__anon17483
38 Create(ASTContext &Context, DeclContext *Parent, AccessNonce _, SourceLocation Loc, bool IsMemberAccess, AccessSpecifier AS, NamedDecl *TargetDecl, CXXRecordDecl *NamingClass, QualType BaseObjectType, const PartialDiagnostic &PDiag) argument
H A DExpr.h233 bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
293 /// \param Loc [in,out] - A source location which *may* be filled
297 isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
384 /// \param Loc A source location that might be filled with a relevant location
386 Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{
387 return ClassifyImpl(Ctx, &Loc);
425 Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
480 /// valid i-c-e, return false and fill in Loc (if specified) with the location
486 SourceLocation *Loc = nullptr,
489 SourceLocation *Loc
815 SourceLocation Loc; member in class:clang::OpaqueValueExpr
818 OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK, ExprObjectKind OK = OK_Ordinary, Expr *SourceExpr = nullptr) argument
897 SourceLocation Loc; member in class:clang::DeclRefExpr
1180 SourceLocation Loc; member in class:clang::PredefinedExpr
1265 SourceLocation Loc; member in class:clang::IntegerLiteral
1313 SourceLocation Loc; member in class:clang::CharacterLiteral
1350 SourceLocation Loc; member in class:clang::FloatingLiteral
1498 Create(const ASTContext &C, StringRef Str, StringKind Kind, bool Pascal, QualType Ty, SourceLocation Loc) argument
1633 setLParen(SourceLocation Loc) argument
1637 setRParen(SourceLocation Loc) argument
1664 SourceLocation Loc; member in class:clang::StringLiteral::UnaryOperator
3640 GNUNullExpr(QualType Ty, SourceLocation Loc) argument
3877 setLBraceLoc(SourceLocation Loc) argument
3879 setRBraceLoc(SourceLocation Loc) argument
[all...]
H A DExprCXX.h182 SourceLocation Loc; // the location of the casting op member in class:clang::CXXNamedCastExpr
192 : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, writtenTy), Loc(l),
205 SourceLocation getOperatorLoc() const { return Loc; }
210 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
429 SourceLocation Loc; member in class:clang::CXXBoolLiteralExpr
434 Value(val), Loc(l) {}
442 SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
443 SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
445 SourceLocation getLocation() const { return Loc; }
446 void setLocation(SourceLocation L) { Loc
460 SourceLocation Loc; member in class:clang::CXXNullPtrLiteralExpr
764 SourceLocation Loc; member in class:clang::CXXThisExpr
864 SourceLocation Loc; member in class:clang::CXXDefaultArgExpr
866 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param) argument
875 CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param, Expr *SubExpr) argument
889 Create(const ASTContext &C, SourceLocation Loc, ParmVarDecl *Param) argument
950 SourceLocation Loc; member in class:clang::CXXDefaultInitExpr
960 Create(const ASTContext &C, SourceLocation Loc, FieldDecl *Field) argument
1074 SourceLocation Loc; member in class:clang::CXXConstructExpr
1125 setLocation(SourceLocation Loc) argument
[all...]
H A DExprObjC.h62 SourceLocation Loc; member in class:clang::ObjCBoolLiteralExpr
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; member in class:clang::ObjCIvarRefExpr
485 D(d), Base(base), Loc(l), OpLoc(oploc),
504 SourceLocation getLocation() const { return Loc; }
505 void setLocation(SourceLocation L) { Loc
761 setReceiverLocation(SourceLocation Loc) argument
1256 setSuper(SourceLocation Loc, QualType T, bool IsInstanceSuper) argument
[all...]

Completed in 8518 milliseconds

1234567891011>>