Searched defs:Loc (Results 76 - 100 of 253) sorted by relevance

1234567891011

/freebsd-10.0-release/contrib/llvm/lib/AsmParser/
H A DLLParser.cpp966 GetGlobalVal(const std::string &Name, Type *Ty, LocTy Loc) argument
1009 GetGlobalVal(unsigned ID, Type *Ty, LocTy Loc) argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/CodeGen/
H A DMachineSSAUpdater.cpp307 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin(); local
/freebsd-10.0-release/contrib/llvm/lib/MC/
H A DMCContext.cpp376 void MCContext::FatalError(SMLoc Loc, const Twine &Msg) { argument
/freebsd-10.0-release/contrib/llvm/lib/Support/
H A DSourceMgr.cpp89 SourceMgr::getLineAndColumn(SMLoc Loc, int BufferID) const { argument
151 SMDiagnostic SourceMgr::GetMessage(SMLoc Loc, SourceMgr::DiagKind Kind, argument
214 PrintMessage(SMLoc Loc, SourceMgr::DiagKind Kind, const Twine &Msg, ArrayRef<SMRange> Ranges, ArrayRef<SMFixIt> FixIts, bool ShowColors) const argument
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp223 AliasAnalysis::Location Loc = AA->getLocation(LI); local
230 AliasAnalysis::Location Loc = AA->getLocation(SI); local
236 AliasAnalysis::Location Loc = AA->getLocation(VI); local
/freebsd-10.0-release/contrib/llvm/lib/Transforms/ObjCARC/
H A DObjCARCContract.cpp303 AliasAnalysis::Location Loc = AA->getLocation(Load); local
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtCXX.h186 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument
188 void setColonLoc(SourceLocation Loc) { ColonLoc = Loc; } argument
190 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
H A DStmtObjC.h54 void setForLoc(SourceLocation Loc) { ForLoc = Loc; } argument
56 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
103 void setAtCatchLoc(SourceLocation Loc) { AtCatchLoc = Loc; } argument
105 void setRParenLoc(SourceLocation Loc) { RParenLoc = Loc; } argument
141 void setAtFinallyLoc(SourceLocation Loc) { AtFinallyLoc = Loc; } argument
194 setAtTryLoc(SourceLocation Loc) argument
329 setThrowLoc(SourceLocation Loc) argument
364 setAtLoc(SourceLocation Loc) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DMacroInfo.h470 DefMacroDirective(MacroInfo *MI, SourceLocation Loc, bool isImported) argument
513 explicit VisibilityMacroDirective(SourceLocation Loc, bool Public) argument
H A DPPCallbacks.h48 virtual void FileChanged(SourceLocation Loc, FileChangeReason Reason, argument
155 virtual void Ident(SourceLocation Loc, const std::string &str) { argument
159 virtual void PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, argument
166 virtual void PragmaDebug(SourceLocation Loc, StringRef DebugType) { argument
186 virtual void PragmaMessage(SourceLocation Loc, StringRef Namespace, argument
192 virtual void PragmaDiagnosticPush(SourceLocation Loc, argument
198 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) argument
203 PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, diag::Mapping mapping, StringRef Str) argument
241 If(SourceLocation Loc, SourceRange ConditionRange) argument
249 Elif(SourceLocation Loc, SourceRange ConditionRange, SourceLocation IfLoc) argument
257 Ifdef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
265 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
272 Else(SourceLocation Loc, SourceLocation IfLoc) argument
278 Endif(SourceLocation Loc, SourceLocation IfLoc) argument
295 FileChanged(SourceLocation Loc, FileChangeReason Reason, SrcMgr::CharacteristicKind FileType, FileID PrevFID) argument
344 Ident(SourceLocation Loc, const std::string &str) argument
349 PragmaComment(SourceLocation Loc, const IdentifierInfo *Kind, const std::string &Str) argument
355 PragmaMessage(SourceLocation Loc, StringRef Namespace, PragmaMessageKind Kind, StringRef Str) argument
361 PragmaDiagnosticPush(SourceLocation Loc, StringRef Namespace) argument
367 PragmaDiagnosticPop(SourceLocation Loc, StringRef Namespace) argument
373 PragmaDiagnostic(SourceLocation Loc, StringRef Namespace, diag::Mapping mapping, StringRef Str) argument
407 If(SourceLocation Loc, SourceRange ConditionRange) argument
413 Elif(SourceLocation Loc, SourceRange ConditionRange, SourceLocation IfLoc) argument
420 Ifdef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
427 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
434 Else(SourceLocation Loc, SourceLocation IfLoc) argument
440 Endif(SourceLocation Loc, SourceLocation IfLoc) argument
[all...]
H A DToken.h38 SourceLocation Loc; member in class:clang::Token
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DDelayedDiagnostic.h120 SourceLocation Loc; member in class:clang::sema::DelayedDiagnostic
130 static DelayedDiagnostic makeAccess(SourceLocation Loc, argument
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransUnbridgedCasts.cpp276 SourceLocation Loc = E->getExprLoc(); local
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DNestedNameSpecifier.cpp421 void SaveSourceLocation(SourceLocation Loc, char *&Buffer, argument
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DDiagnosticRenderer.cpp42 static StringRef getImmediateMacroName(SourceLocation Loc, argument
123 emitDiagnostic(SourceLocation Loc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> FixItHints, const SourceManager *SM, DiagOrStoredDiag D) argument
204 emitIncludeStack(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, const SourceManager &SM) argument
229 emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM) argument
258 emitImportStack(SourceLocation Loc, const SourceManager &SM) argument
272 emitImportStackRecursively(SourceLocation Loc, StringRef ModuleName, const SourceManager &SM) argument
381 emitCaret(SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument
403 emitMacroExpansions(SourceLocation Loc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM, unsigned &MacroDepth, unsigned OnMacroInst) argument
471 emitIncludeLocation(SourceLocation Loc, PresumedLoc PLoc, const SourceManager &SM) argument
482 emitImportLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument
495 emitBuildingModuleLocation(SourceLocation Loc, PresumedLoc PLoc, StringRef ModuleName, const SourceManager &SM) argument
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Lex/
H A DLiteralSupport.cpp77 ProcessCharEscape(const char *ThisTokBegin, const char *&ThisTokBuf, const char *ThisTokEnd, bool &HadError, FullSourceLoc Loc, unsigned CharWidth, DiagnosticsEngine *Diags, const LangOptions &Features) argument
217 ProcessUCNEscape(const char *ThisTokBegin, const char *&ThisTokBuf, const char *ThisTokEnd, uint32_t &UcnVal, unsigned short &UcnLen, FullSourceLoc Loc, DiagnosticsEngine *Diags, const LangOptions &Features, bool in_char_string_literal = false) argument
298 FullSourceLoc Loc; local
324 EncodeUCNEscape(const char *ThisTokBegin, const char *&ThisTokBuf, const char *ThisTokEnd, char *&ResultBuf, bool &HadError, FullSourceLoc Loc, unsigned CharByteWidth, DiagnosticsEngine *Diags, const LangOptions &Features) argument
812 assert(C < radix && �); CharVal = C; OldVal = Val; Val *= RadixVal; OverflowOccurred |= Val.udiv(RadixVal) != OldVal; Val += CharVal; OverflowOccurred |= Val.ult(CharVal); } return OverflowOccurred; } llvm::APFloat::opStatus NumericLiteralParser::GetFloatValue(llvm::APFloat &Result) { using llvm::APFloat; unsigned n = std::min(SuffixBegin - ThisTokBegin, ThisTokEnd - ThisTokBegin); return Result.convertFromString(StringRef(ThisTokBegin, n), APFloat::rmNearestTiesToEven); } CharLiteralParser::CharLiteralParser(const char *begin, const char *end, SourceLocation Loc, Preprocessor &PP, tok::TokenKind kind) { HadError = false; Kind = kind; const char *TokBegin = begin; if (Kind != tok::char_constant) { ++begin; } assert(begin[0] == � && �); ++begin; if (end[-1] != �) { const char *UDSuffixEnd = end; do { --end; } while (end[-1] != �); UDSuffixBuf.assign(end, UDSuffixEnd); UDSuffixOffset = end - TokBegin; } assert(end != begin && �); --end; assert(PP.getTargetInfo().getCharWidth() == 8 && �); assert(PP.getTargetInfo().getIntWidth() <= 64 && (PP.getTargetInfo().getIntWidth() & 7) == 0 && �); assert(PP.getTargetInfo().getWCharWidth() <= 64 && �); SmallVector<uint32_t,4> codepoint_buffer; codepoint_buffer.resize(end-begin); uint32_t *buffer_begin = &codepoint_buffer.front(); uint32_t *buffer_end = buffer_begin + codepoint_buffer.size(); uint32_t largest_character_for_kind; if (tok::wide_char_constant == Kind) { largest_character_for_kind = 0xFFFFFFFFu >> (32-PP.getTargetInfo().getWCharWidth()); } else if (tok::utf16_char_constant == Kind) { largest_character_for_kind = 0xFFFF; } else if (tok::utf32_char_constant == Kind) { largest_character_for_kind = 0x10FFFF; } else { largest_character_for_kind = 0x7Fu; } while (begin!=end) { if (begin[0] != �) { char const *start = begin; do { ++begin; } while (begin != end && *begin != �); char const *tmp_in_start = start; uint32_t *tmp_out_start = buffer_begin; ConversionResult res = ConvertUTF8toUTF32(reinterpret_cast<UTF8 const **>(&start), reinterpret_cast<UTF8 const *>(begin), &buffer_begin,buffer_end,strictConversion); if (res!=conversionOK) { bool NoErrorOnBadEncoding = isAscii(); unsigned Msg = diag::err_bad_character_encoding; if (NoErrorOnBadEncoding) Msg = diag::warn_bad_character_encoding; PP.Diag(Loc, Msg); if (NoErrorOnBadEncoding) { start = tmp_in_start; buffer_begin = tmp_out_start; for ( ; start != begin; ++start, ++buffer_begin) *buffer_begin = static_cast<uint8_t>(*start); } else { HadError = true; } } else { for (; tmp_out_start <buffer_begin; ++tmp_out_start) { if (*tmp_out_start > largest_character_for_kind) { HadError = true; PP.Diag(Loc, diag::err_character_too_large); } } } continue; } if (begin[1] == � || begin[1] == �) { unsigned short UcnLen = 0; if (!ProcessUCNEscape(TokBegin, begin, end, *buffer_begin, UcnLen, FullSourceLoc(Loc, PP.getSourceManager()), &PP.getDiagnostics(), PP.getLangOpts(), true)) { HadError = true; } else if (*buffer_begin > largest_character_for_kind) argument
[all...]
H A DPreprocessingRecord.cpp384 void PreprocessingRecord::Ifdef(SourceLocation Loc, cons argument
392 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument
[all...]
H A DTokenLexer.cpp608 SourceLocation Loc = local
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp137 SourceLocation Loc = Tok.getLocation(); local
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/
H A DInclusionRewriter.cpp135 void InclusionRewriter::FileChanged(SourceLocation Loc, argument
425 SourceLocation Loc = RawToken.getLocation(); local
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateVariadic.cpp198 Sema::DiagnoseUnexpandedParameterPacks(SourceLocation Loc, argument
250 bool Sema::DiagnoseUnexpandedParameterPack(SourceLocation Loc, argument
332 bool Sema::DiagnoseUnexpandedParameterPack(SourceLocation Loc, argument
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DDeadStoresChecker.cpp377 PathDiagnosticLocation Loc = local
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp228 void CoreEngine::dispatchWorkItem(ExplodedNode* Pred, ProgramPoint Loc, argument
492 void CoreEngine::generateNode(const ProgramPoint &Loc, argument
603 generateNodeImpl(const ProgramPoint &Loc, ProgramStateRef State, ExplodedNode *FromN, bool MarkAsSink) argument
[all...]
H A DHTMLDiagnostics.cpp479 SourceLocation Loc = local
/freebsd-10.0-release/contrib/llvm/utils/TableGen/
H A DCodeGenInstruction.cpp415 tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, Record *InstOpRec, bool hasSubOps, ArrayRef<SMLoc> Loc, CodeGenTarget &T, ResultOperand &ResOp) argument

Completed in 292 milliseconds

1234567891011