/freebsd-10.0-release/contrib/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 966 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 D | MachineSSAUpdater.cpp | 307 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin(); local
|
/freebsd-10.0-release/contrib/llvm/lib/MC/ |
H A D | MCContext.cpp | 376 void MCContext::FatalError(SMLoc Loc, const Twine &Msg) { argument
|
/freebsd-10.0-release/contrib/llvm/lib/Support/ |
H A D | SourceMgr.cpp | 89 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 D | FunctionAttrs.cpp | 223 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 D | ObjCARCContract.cpp | 303 AliasAnalysis::Location Loc = AA->getLocation(Load); local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/ |
H A D | StmtCXX.h | 186 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 D | StmtObjC.h | 54 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 D | MacroInfo.h | 470 DefMacroDirective(MacroInfo *MI, SourceLocation Loc, bool isImported) argument 513 explicit VisibilityMacroDirective(SourceLocation Loc, bool Public) argument
|
H A D | PPCallbacks.h | 48 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 D | Token.h | 38 SourceLocation Loc; member in class:clang::Token
|
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/Sema/ |
H A D | DelayedDiagnostic.h | 120 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 D | TransUnbridgedCasts.cpp | 276 SourceLocation Loc = E->getExprLoc(); local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/ |
H A D | NestedNameSpecifier.cpp | 421 void SaveSourceLocation(SourceLocation Loc, char *&Buffer, argument
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | DiagnosticRenderer.cpp | 42 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 D | LiteralSupport.cpp | 77 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 D | PreprocessingRecord.cpp | 384 void PreprocessingRecord::Ifdef(SourceLocation Loc, cons argument 392 Ifndef(SourceLocation Loc, const Token &MacroNameTok, const MacroDirective *MD) argument [all...] |
H A D | TokenLexer.cpp | 608 SourceLocation Loc = local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 137 SourceLocation Loc = Tok.getLocation(); local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Rewrite/Frontend/ |
H A D | InclusionRewriter.cpp | 135 void InclusionRewriter::FileChanged(SourceLocation Loc, argument 425 SourceLocation Loc = RawToken.getLocation(); local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaTemplateVariadic.cpp | 198 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 D | DeadStoresChecker.cpp | 377 PathDiagnosticLocation Loc = local
|
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
H A D | CoreEngine.cpp | 228 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 D | HTMLDiagnostics.cpp | 479 SourceLocation Loc = local
|
/freebsd-10.0-release/contrib/llvm/utils/TableGen/ |
H A D | CodeGenInstruction.cpp | 415 tryAliasOpMatch(DagInit *Result, unsigned AliasOpNo, Record *InstOpRec, bool hasSubOps, ArrayRef<SMLoc> Loc, CodeGenTarget &T, ResultOperand &ResOp) argument
|