| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| H A D | PPCallbacks.h | 47 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, 181 virtual void Ident(SourceLocation Loc, StringRef str) { in Ident() argument 185 virtual void PragmaDirective(SourceLocation Loc, in PragmaDirective() argument 190 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, in PragmaComment() argument 196 virtual void PragmaDetectMismatch(SourceLocation Loc, StringRef Name, in PragmaDetectMismatch() argument 203 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { in PragmaDebug() argument 223 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, in PragmaMessage() argument 229 virtual void PragmaDiagnosticPush(SourceLocation Loc, in PragmaDiagnosticPush() argument 235 virtual void PragmaDiagnosticPop(SourceLocation Loc, in PragmaDiagnosticPop() argument 240 virtual void PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, in PragmaDiagnostic() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/ |
| H A D | DiagnosticRenderer.cpp | 87 void DiagnosticRenderer::emitDiagnostic(FullSourceLoc Loc, in emitDiagnostic() argument 93 assert(Loc.hasManager() || Loc.isInvalid()); in emitDiagnostic() 97 if (!Loc.isValid()) in emitDiagnostic() 99 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, D); in emitDiagnostic() 107 mergeFixits(FixItHints, Loc.getManager(), LangOpts, MergedFixits); in emitDiagnostic() 115 FullSourceLoc UnexpandedLoc = Loc; in emitDiagnostic() 118 Loc = Loc.getFileLoc(); in emitDiagnostic() 120 PresumedLoc PLoc = Loc.getPresumedLoc(DiagOpts->ShowPresumedLoc); in emitDiagnostic() 124 emitIncludeStack(Loc, PLoc, Level); in emitDiagnostic() 127 emitDiagnosticMessage(Loc, PLoc, Level, Message, Ranges, D); in emitDiagnostic() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 196 void initialize(ASTContext &Context, SourceLocation Loc) const { in initialize() argument 197 initializeImpl(Context, *this, Loc); in initialize() 237 SourceLocation Loc); 291 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal() argument 327 if (QualifiedTypeLoc Loc = getAs<QualifiedTypeLoc>()) in getUnqualifiedLoc() local 328 return Loc.getUnqualifiedLoc(); in getUnqualifiedLoc() 527 void setNameLoc(SourceLocation Loc) { in setNameLoc() argument 528 this->getLocalData()->NameLoc = Loc; in setNameLoc() 535 void initializeLocal(ASTContext &Context, SourceLocation Loc) { in initializeLocal() argument 536 setNameLoc(Loc); in initializeLocal() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/ubsan/ |
| H A D | ubsan_handlers.cc | 47 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl() local 60 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl() 64 if (Data->Loc.isInvalid()) { in handleTypeMismatchImpl() 66 Loc = FallbackLoc; in handleTypeMismatchImpl() 69 ScopedReport R(Opts, Loc, ET); in handleTypeMismatchImpl() 73 Diag(Loc, DL_Error, ET, "%0 null pointer of type %1") in handleTypeMismatchImpl() 77 Diag(Loc, DL_Error, ET, "%0 misaligned address %1 for type %3, " in handleTypeMismatchImpl() 83 Diag(Loc, DL_Error, ET, "%0 address %1 with insufficient space " in handleTypeMismatchImpl() 112 SourceLocation Loc = Data->Loc.acquire(); in handleIntegerOverflowImpl() local 117 if (ignoreReport(Loc, Opts, ET)) in handleIntegerOverflowImpl() [all …]
|
| H A D | ubsan_handlers.h | 19 SourceLocation Loc; member 41 SourceLocation Loc; member 62 SourceLocation Loc; member 73 SourceLocation Loc; member 82 SourceLocation Loc; member 91 SourceLocation Loc; member 106 SourceLocation Loc; member 116 SourceLocation Loc; member 132 SourceLocation Loc; member 150 SourceLocation Loc; member [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/ubsan/ |
| H A D | ubsan_handlers.cpp | 88 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl() local 103 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl() 107 if (Data->Loc.isInvalid()) { in handleTypeMismatchImpl() 109 Loc = FallbackLoc; in handleTypeMismatchImpl() 112 ScopedReport R(Opts, Loc, ET); in handleTypeMismatchImpl() 117 Diag(Loc, DL_Error, ET, "%0 null pointer of type %1") in handleTypeMismatchImpl() 121 Diag(Loc, DL_Error, ET, "%0 misaligned address %1 for type %3, " in handleTypeMismatchImpl() 127 Diag(Loc, DL_Error, ET, "%0 address %1 with insufficient space " in handleTypeMismatchImpl() 156 Location Loc = Data->Loc.acquire(); in handleAlignmentAssumptionImpl() local 161 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleAlignmentAssumptionImpl() [all …]
|
| H A D | ubsan_handlers.h | 20 SourceLocation Loc; member 42 SourceLocation Loc; member 53 SourceLocation Loc; member 74 SourceLocation Loc; member 85 SourceLocation Loc; member 94 SourceLocation Loc; member 103 SourceLocation Loc; member 118 SourceLocation Loc; member 128 SourceLocation Loc; member 146 SourceLocation Loc; member [all …]
|
| /netbsd-src/sys/external/bsd/compiler_rt/dist/lib/ubsan/ |
| H A D | ubsan_handlers.cc | 49 Location Loc = Data->Loc.acquire(); in handleTypeMismatchImpl() local 62 if (ignoreReport(Loc.getSourceLocation(), Opts, ET)) in handleTypeMismatchImpl() 66 if (Data->Loc.isInvalid()) { in handleTypeMismatchImpl() 68 Loc = FallbackLoc; in handleTypeMismatchImpl() 71 ScopedReport R(Opts, Loc, ET); in handleTypeMismatchImpl() 75 Diag(Loc, DL_Error, ET, "%0 null pointer of type %1") in handleTypeMismatchImpl() 79 Diag(Loc, DL_Error, ET, "%0 misaligned address %1 for type %3, " in handleTypeMismatchImpl() 85 Diag(Loc, DL_Error, ET, "%0 address %1 with insufficient space " in handleTypeMismatchImpl() 114 SourceLocation Loc = Data->Loc.acquire(); in handleIntegerOverflowImpl() local 119 if (ignoreReport(Loc, Opts, ET)) in handleIntegerOverflowImpl() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 33 SourceLocation Loc, bool &Res) { in lookupMember() argument 35 LookupResult LR(S, DN, Loc, Sema::LookupMemberName); in lookupMember() 44 SourceLocation Loc) { in lookupMember() argument 46 lookupMember(S, Name, RD, Loc, Res); in lookupMember() 146 SourceLocation Loc) { in lookupCoroutineHandleType() argument 154 Loc, Sema::LookupOrdinaryName); in lookupCoroutineHandleType() 156 S.Diag(Loc, diag::err_implied_coroutine_type_not_found) in lookupCoroutineHandleType() 171 TemplateArgumentListInfo Args(Loc, Loc); in lookupCoroutineHandleType() 174 S.Context.getTrivialTypeSourceInfo(PromiseType, Loc))); in lookupCoroutineHandleType() 178 S.CheckTemplateIdType(TemplateName(CoroHandle), Loc, Args); in lookupCoroutineHandleType() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| H A D | mtype.h | 242 virtual d_uns64 size(Loc loc); 244 virtual Type *semantic(Loc loc, Scope *sc); 245 Type *trySemantic(Loc loc, Scope *sc); 266 virtual void checkDeprecated(Loc loc, Scope *sc); 320 virtual Expression *getProperty(Loc loc, Identifier *ident, int flag); 324 virtual Expression *defaultInit(Loc loc = Loc()); 325 virtual Expression *defaultInitLiteral(Loc loc); 326 virtual bool isZeroInit(Loc loc = Loc()); // if initializer is 0 328 …virtual void resolve(Loc loc, Scope *sc, Expression **pe, Type **pt, Dsymbol **ps, bool intypeid =… 336 unsigned numberOfElems(const Loc &loc); [all …]
|
| H A D | expression.h | 59 bool checkAccess(Loc loc, Scope *sc, Expression *e, Declaration *d); 60 bool checkAccess(Loc loc, Scope *sc, Package *p); 61 Expression *build_overload(Loc loc, Scope *sc, Expression *ethis, Expression *earg, Dsymbol *d); 71 int modifyFieldVar(Loc loc, Scope *sc, VarDeclaration *var, Expression *e1); 127 Loc loc; // file location 133 Expression(Loc loc, TOK op, int size); 176 virtual Expression *resolveLoc(Loc loc, Scope *sc); 229 IntegerExp(Loc loc, dinteger_t value, Type *type); 231 static IntegerExp *create(Loc loc, dinteger_t value, Type *type); 260 RealExp(Loc loc, real_t value, Type *type); [all …]
|
| H A D | statement.h | 72 Loc loc; 74 Statement(Loc loc); 138 ExpStatement(Loc loc, Expression *exp); 139 ExpStatement(Loc loc, Dsymbol *s); 140 static ExpStatement *create(Loc loc, Expression *exp); 157 DtorExpStatement(Loc loc, Expression *exp, VarDeclaration *v); 169 CompileStatement(Loc loc, Expression *exp); 180 CompoundStatement(Loc loc, Statements *s); 181 CompoundStatement(Loc loc, Statement *s1); 182 CompoundStatement(Loc loc, Statement *s1, Statement *s2); [all …]
|
| H A D | errors.h | 25 D_ATTRIBUTE_FORMAT(2, 3) void warning(const Loc& loc, const char *format, ...); 26 D_ATTRIBUTE_FORMAT(2, 3) void warningSupplemental(const Loc& loc, const char *format, ...); 27 D_ATTRIBUTE_FORMAT(2, 3) void deprecation(const Loc& loc, const char *format, ...); 28 D_ATTRIBUTE_FORMAT(2, 3) void deprecationSupplemental(const Loc& loc, const char *format, ...); 29 D_ATTRIBUTE_FORMAT(2, 3) void error(const Loc& loc, const char *format, ...); 30 D_ATTRIBUTE_FORMAT(2, 3) void errorSupplemental(const Loc& loc, const char *format, ...); 31 D_ATTRIBUTE_FORMAT(2, 0) void verror(const Loc& loc, const char *format, va_list ap, const char *p1… 32 D_ATTRIBUTE_FORMAT(2, 0) void verrorSupplemental(const Loc& loc, const char *format, va_list ap); 33 D_ATTRIBUTE_FORMAT(2, 0) void vwarning(const Loc& loc, const char *format, va_list); 34 D_ATTRIBUTE_FORMAT(2, 0) void vwarningSupplemental(const Loc& loc, const char *format, va_list ap); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/ |
| H A D | PPConditionalDirectiveRecord.cpp | 47 SourceLocation Loc) const { in findConditionalDirectiveRegionLoc() 48 if (Loc.isInvalid()) in findConditionalDirectiveRegionLoc() 54 Loc)) in findConditionalDirectiveRegionLoc() 58 CondDirectiveLocs, Loc, CondDirectiveLoc::Comp(SourceMgr)); in findConditionalDirectiveRegionLoc() 75 void PPConditionalDirectiveRecord::If(SourceLocation Loc, in If() argument 78 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in If() 79 CondDirectiveStack.push_back(Loc); in If() 82 void PPConditionalDirectiveRecord::Ifdef(SourceLocation Loc, in Ifdef() argument 85 addCondDirectiveLoc(CondDirectiveLoc(Loc, CondDirectiveStack.back())); in Ifdef() 86 CondDirectiveStack.push_back(Loc); in Ifdef() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| H A D | SetTheory.cpp | 41 ArrayRef<SMLoc> Loc) override { in apply() 42 ST.evaluate(Expr->arg_begin(), Expr->arg_end(), Elts, Loc); in apply() 49 ArrayRef<SMLoc> Loc) override { in apply() 51 PrintFatalError(Loc, "Set difference needs at least two arguments: " + in apply() 54 ST.evaluate(*Expr->arg_begin(), Add, Loc); in apply() 55 ST.evaluate(Expr->arg_begin() + 1, Expr->arg_end(), Sub, Loc); in apply() 65 ArrayRef<SMLoc> Loc) override { in apply() 67 PrintFatalError(Loc, "Set intersection requires two arguments: " + in apply() 70 ST.evaluate(Expr->arg_begin()[0], S1, Loc); in apply() 71 ST.evaluate(Expr->arg_begin()[1], S2, Loc); in apply() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | TypeLoc.cpp | 132 SourceLocation Loc) { in initializeImpl() argument 139 TLCasted.initializeLocal(Context, Loc); \ in initializeImpl() 461 SourceLocation Loc) { in initializeLocal() argument 462 setNameLoc(Loc); in initializeLocal() 465 setProtocolLAngleLoc(Loc); in initializeLocal() 466 setProtocolRAngleLoc(Loc); in initializeLocal() 468 setProtocolLoc(i, Loc); in initializeLocal() 472 SourceLocation Loc) { in initializeLocal() argument 474 setTypeArgsLAngleLoc(Loc); in initializeLocal() 475 setTypeArgsRAngleLoc(Loc); in initializeLocal() [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/ |
| H A D | errors.d | 54 private extern (C++) void noop(const ref Loc loc, const(char)* format, ...) {} in noop() 56 pragma(printf) private extern (C++) void noop(const ref Loc loc, const(char)* format, ...) {} in noop() 88 extern (C++) void error(const ref Loc loc, const(char)* format, ...) in error() 96 pragma(printf) extern (C++) void error(const ref Loc loc, const(char)* format, ...) in pragma() 116 const loc = Loc(filename, linnum, charnum); in error() 125 const loc = Loc(filename, linnum, charnum); in pragma() 141 extern (C++) void errorSupplemental(const ref Loc loc, const(char)* format, ...) in errorSupplemental() 149 pragma(printf) extern (C++) void errorSupplemental(const ref Loc loc, const(char)* format, ...) in pragma() 165 extern (C++) void warning(const ref Loc loc, const(char)* format, ...) in warning() 173 pragma(printf) extern (C++) void warning(const ref Loc loc, const(char)* format, ...) in pragma() [all …]
|
| H A D | errors.h | 15 struct Loc; 26 D_ATTRIBUTE_FORMAT(2, 3) void warning(const Loc& loc, const char *format, ...); 27 D_ATTRIBUTE_FORMAT(2, 3) void warningSupplemental(const Loc& loc, const char *format, ...); 28 D_ATTRIBUTE_FORMAT(2, 3) void deprecation(const Loc& loc, const char *format, ...); 29 D_ATTRIBUTE_FORMAT(2, 3) void deprecationSupplemental(const Loc& loc, const char *format, ...); 30 D_ATTRIBUTE_FORMAT(2, 3) void error(const Loc& loc, const char *format, ...); 32 D_ATTRIBUTE_FORMAT(2, 3) void errorSupplemental(const Loc& loc, const char *format, ...); 33 D_ATTRIBUTE_FORMAT(2, 0) void verror(const Loc& loc, const char *format, va_list ap, const char *p1… 34 D_ATTRIBUTE_FORMAT(2, 0) void verrorSupplemental(const Loc& loc, const char *format, va_list ap); 35 D_ATTRIBUTE_FORMAT(2, 0) void vwarning(const Loc& loc, const char *format, va_list); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| H A D | AliasAnalysis.cpp | 163 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() argument 166 return pointsToConstantMemory(Loc, AAQIP, OrLocal); in pointsToConstantMemory() 169 bool AAResults::pointsToConstantMemory(const MemoryLocation &Loc, in pointsToConstantMemory() argument 172 if (AA->pointsToConstantMemory(Loc, AAQI, OrLocal)) in pointsToConstantMemory() 220 const MemoryLocation &Loc) { in getModRefInfo() argument 222 return getModRefInfo(Call, Loc, AAQIP); in getModRefInfo() 226 const MemoryLocation &Loc, in getModRefInfo() argument 231 Result = intersectModRef(Result, AA->getModRefInfo(Call, Loc, AAQI)); in getModRefInfo() 260 AliasResult ArgAlias = alias(ArgLoc, Loc, AAQI); in getModRefInfo() 280 if (isModSet(Result) && pointsToConstantMemory(Loc, AAQI, /*OrLocal*/ false)) in getModRefInfo() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-mca/ |
| H A D | CodeRegion.cpp | 24 bool CodeRegion::isLocInRange(SMLoc Loc) const { in isLocInRange() 25 if (RangeEnd.isValid() && Loc.getPointer() > RangeEnd.getPointer()) in isLocInRange() 27 if (RangeStart.isValid() && Loc.getPointer() < RangeStart.getPointer()) in isLocInRange() 32 void CodeRegions::beginRegion(StringRef Description, SMLoc Loc) { in beginRegion() argument 39 Regions[0] = std::make_unique<CodeRegion>(Description, Loc); in beginRegion() 47 SM.PrintMessage(Loc, SourceMgr::DK_Error, in beginRegion() 55 SM.PrintMessage(Loc, SourceMgr::DK_Error, in beginRegion() 65 Regions.emplace_back(std::make_unique<CodeRegion>(Description, Loc)); in beginRegion() 68 void CodeRegions::endRegion(StringRef Description, SMLoc Loc) { in endRegion() argument 76 Regions[It->second]->setEndLocation(Loc); in endRegion() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | SourceManager.h | 209 SourceLocation Loc = SourceLocation()) const; 901 SourceLocation createMacroArgExpansionLoc(SourceLocation Loc, 908 SourceLocation createExpansionLoc(SourceLocation Loc, 1008 getBufferOrNone(FileID FID, SourceLocation Loc = SourceLocation()) const { 1011 Diag, getFileManager(), Loc); 1020 getBufferOrFake(FileID FID, SourceLocation Loc = SourceLocation()) const { 1021 if (auto B = getBufferOrNone(FID, Loc)) 1142 getModuleImportLoc(SourceLocation Loc) const { in getModuleImportLoc() argument 1143 FileID FID = getFileID(Loc); in getModuleImportLoc() 1155 SourceLocation getExpansionLoc(SourceLocation Loc) const { in getExpansionLoc() argument [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/ |
| H A D | DiagnosticRenderer.h | 76 virtual void emitDiagnosticMessage(FullSourceLoc Loc, PresumedLoc PLoc, 82 virtual void emitDiagnosticLoc(FullSourceLoc Loc, PresumedLoc PLoc, 86 virtual void emitCodeContext(FullSourceLoc Loc, 91 virtual void emitIncludeLocation(FullSourceLoc Loc, PresumedLoc PLoc) = 0; 92 virtual void emitImportLocation(FullSourceLoc Loc, PresumedLoc PLoc, 94 virtual void emitBuildingModuleLocation(FullSourceLoc Loc, PresumedLoc PLoc, 104 void emitIncludeStack(FullSourceLoc Loc, PresumedLoc PLoc, 106 void emitIncludeStackRecursively(FullSourceLoc Loc); 107 void emitImportStack(FullSourceLoc Loc); 108 void emitImportStackRecursively(FullSourceLoc Loc, StringRef ModuleName); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | TemplateDeduction.h | 48 SourceLocation Loc; variable 65 TemplateDeductionInfo(SourceLocation Loc, unsigned DeducedDepth = 0) 66 : Loc(Loc), DeducedDepth(DeducedDepth) {} in Loc() argument 74 : Deduced(Info.Deduced), Loc(Info.Loc), DeducedDepth(Info.DeducedDepth), in TemplateDeductionInfo() 80 return Loc; in getLocation() 140 void addSFINAEDiagnostic(SourceLocation Loc, PartialDiagnostic PD) { in addSFINAEDiagnostic() argument 145 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); in addSFINAEDiagnostic() 150 void addSuppressedDiagnostic(SourceLocation Loc, in addSuppressedDiagnostic() argument 154 SuppressedDiagnostics.emplace_back(Loc, std::move(PD)); in addSuppressedDiagnostic() 318 SourceLocation Loc; variable [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 174 InsertPointTy createBarrier(const LocationDescription &Loc, omp::Directive DK, 185 InsertPointTy createCancel(const LocationDescription &Loc, Value *IfCondition, 202 createParallel(const LocationDescription &Loc, InsertPointTy AllocaIP, 227 CanonicalLoopInfo *createCanonicalLoop(const LocationDescription &Loc, 281 CanonicalLoopInfo *createCanonicalLoop(const LocationDescription &Loc, 372 CanonicalLoopInfo *createStaticWorkshareLoop(const LocationDescription &Loc, 397 InsertPointTy createDynamicWorkshareLoop(const LocationDescription &Loc, 422 CanonicalLoopInfo *createWorkshareLoop(const LocationDescription &Loc, 477 void createFlush(const LocationDescription &Loc); 482 void createTaskwait(const LocationDescription &Loc); [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/ |
| H A D | SourceManager.cpp | 105 SourceLocation Loc) const { in getBufferOrNone() 132 Diag.Report(Loc, diag::err_cannot_open_file) in getBufferOrNone() 154 Diag.Report(Loc, diag::err_file_too_large) in getBufferOrNone() 169 Diag.Report(Loc, diag::err_file_modified) in getBufferOrNone() 182 Diag.Report(Loc, diag::err_unsupported_bom) in getBufferOrNone() 272 void SourceManager::AddLineNote(SourceLocation Loc, unsigned LineNo, in AddLineNote() argument 276 std::pair<FileID, unsigned> LocInfo = getDecomposedExpansionLoc(Loc); in AddLineNote() 934 getExpansionLocSlowCase(SourceLocation Loc) const { in getExpansionLocSlowCase() 942 Loc = getSLocEntry(getFileID(Loc)).getExpansion().getExpansionLocStart(); in getExpansionLocSlowCase() 943 } while (!Loc.isFileID()); in getExpansionLocSlowCase() [all …]
|