| /src/external/apache2/llvm/dist/clang/lib/Format/ |
| AffectedRangeManager.h | 27 AffectedRangeManager(const SourceManager &SourceMgr, 29 : SourceMgr(SourceMgr), Ranges(Ranges.begin(), Ranges.end()) {} 58 const SourceManager &SourceMgr;
|
| WhitespaceManager.h | 40 WhitespaceManager(const SourceManager &SourceMgr, const FormatStyle &Style, 42 : SourceMgr(SourceMgr), Style(Style), UseCRLF(UseCRLF) {} 93 IsBeforeInFile(const SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} 97 const SourceManager &SourceMgr; 226 const SourceManager &SourceMgr;
|
| UnwrappedLineFormatter.h | 34 const SourceManager &SourceMgr, 37 Keywords(Keywords), SourceMgr(SourceMgr), Status(Status) {} 69 const SourceManager &SourceMgr;
|
| UsingDeclarationsSorter.cpp | 116 const SourceManager &SourceMgr, tooling::Replacements *Fixes) { 145 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, "")); 159 StringRef Text(SourceMgr.getCharacterData(SortedBegin), 160 SourceMgr.getCharacterData(SortedEnd) - 161 SourceMgr.getCharacterData(SortedBegin)); 163 StringRef OldText(SourceMgr.getCharacterData(Begin), 164 SourceMgr.getCharacterData(End) - 165 SourceMgr.getCharacterData(Begin)); 169 auto Err = Fixes->add(tooling::Replacement(SourceMgr, Range, Text)); 187 const SourceManager &SourceMgr = Env.getSourceManager() [all...] |
| FormatTokenLexer.h | 40 FormatTokenLexer(const SourceManager &SourceMgr, FileID ID, unsigned Column, 104 const SourceManager &SourceMgr;
|
| Macros.h | 107 clang::SourceManager &SourceMgr, const FormatStyle &Style, 130 clang::SourceManager &SourceMgr;
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-ml/ |
| Disassembler.h | 24 class SourceMgr; 32 MemoryBuffer &Buffer, SourceMgr &SM, raw_ostream &Out);
|
| Disassembler.cpp | 24 #include "llvm/Support/SourceMgr.h" 34 SourceMgr &SM, raw_ostream &Out, MCStreamer &Streamer, 50 SourceMgr::DK_Warning, "invalid instruction encoding"); 62 SourceMgr::DK_Warning, 96 SourceMgr &SM) { 110 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, 128 MemoryBuffer &Buffer, SourceMgr &SM, 170 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, 179 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, 197 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Lex/ |
| ScratchBuffer.cpp | 24 : SourceMgr(SM), CurBuffer(nullptr) { 40 SourceMgr.getSLocEntry(SourceMgr.getFileID(BufferStartLoc)) 80 FileID FID = SourceMgr.createFileID(std::move(OwnBuf)); 81 BufferStartLoc = SourceMgr.getLocForStartOfFile(FID);
|
| PPConditionalDirectiveRecord.cpp | 19 : SourceMgr(SM) { 29 CondDirectiveLocs, Range.getBegin(), CondDirectiveLoc::Comp(SourceMgr)); 33 if (SourceMgr.isBeforeInTranslationUnit(Range.getEnd(), low->getLoc())) 38 Range.getEnd(), CondDirectiveLoc::Comp(SourceMgr)); 53 if (SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(), 58 CondDirectiveLocs, Loc, CondDirectiveLoc::Comp(SourceMgr)); 66 if (SourceMgr.isInSystemHeader(DirLoc.getLoc())) 70 SourceMgr.isBeforeInTranslationUnit(CondDirectiveLocs.back().getLoc(),
|
| PreprocessingRecord.cpp | 54 PreprocessingRecord::PreprocessingRecord(SourceManager &SM) : SourceMgr(SM) {} 110 return isPreprocessedEntityIfInFileID(PPE, FID, SourceMgr); 123 FID, SourceMgr); 131 FID, SourceMgr); 139 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 145 if (!ExternalSource || SourceMgr.isLocalSourceLocation(Range.getBegin())) 171 assert(!SourceMgr.isBeforeInTranslationUnit(Range.getEnd(),Range.getBegin())); 212 if (SourceMgr.isLoadedSourceLocation(Loc)) 229 if (SourceMgr.isBeforeInTranslationUnit((*I)->getSourceRange().getEnd(), 243 if (SourceMgr.isLoadedSourceLocation(Loc) [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| SourceMgr.h | 1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===// 9 // This file declares the SMDiagnostic and SourceMgr classes. This 31 class SourceMgr { 96 SourceMgr() = default; 97 SourceMgr(const SourceMgr &) = delete; 98 SourceMgr &operator=(const SourceMgr &) = delete; 99 SourceMgr(SourceMgr &&) = default [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/Stages/ |
| EntryStage.h | 20 #include "llvm/MCA/SourceMgr.h" 29 SourceMgr &SM; 39 EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { }
|
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mc/ |
| Disassembler.h | 24 class SourceMgr; 34 MemoryBuffer &Buffer, SourceMgr &SM, MCContext &Ctx,
|
| Disassembler.cpp | 25 #include "llvm/Support/SourceMgr.h" 36 SourceMgr &SM, raw_ostream &Out, 53 SourceMgr::DK_Warning, 66 SourceMgr::DK_Warning, 102 SourceMgr &SM) { 116 SM.PrintMessage(SMLoc::getFromPointer(Value.data()), SourceMgr::DK_Error, 134 MemoryBuffer &Buffer, SourceMgr &SM, 174 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, 183 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error, 201 SM.PrintMessage(SMLoc::getFromPointer(Str.data()), SourceMgr::DK_Error [all...] |
| /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/ |
| CodeRegion.cpp | 19 CodeRegions::CodeRegions(llvm::SourceMgr &S) : SM(S), FoundErrors(false) { 47 SM.PrintMessage(Loc, SourceMgr::DK_Error, 49 SM.PrintMessage(R.startLoc(), SourceMgr::DK_Note, 55 SM.PrintMessage(Loc, SourceMgr::DK_Error, 57 SM.PrintMessage(R.startLoc(), SourceMgr::DK_Note, 97 SM.PrintMessage(Loc, SourceMgr::DK_Error, 100 SM.PrintMessage(Loc, SourceMgr::DK_Note, 103 SM.PrintMessage(Loc, SourceMgr::DK_Note,
|
| /src/external/apache2/llvm/dist/llvm/lib/TableGen/ |
| Error.cpp | 24 SourceMgr SrcMgr; 27 static void PrintMessage(ArrayRef<SMLoc> Loc, SourceMgr::DiagKind Kind, 31 if (Kind == SourceMgr::DK_Error) 39 SrcMgr.PrintMessage(Loc[i], SourceMgr::DK_Note, 50 PrintMessage(NoteLoc, SourceMgr::DK_Note, Msg); 92 PrintMessage(WarningLoc, SourceMgr::DK_Warning, Msg); 96 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Warning, Msg); 104 PrintMessage(ErrorLoc, SourceMgr::DK_Error, Msg); 108 SrcMgr.PrintMessage(SMLoc::getFromPointer(Loc), SourceMgr::DK_Error, Msg); 114 PrintMessage(Rec->getLoc(), SourceMgr::DK_Error, Msg) [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Lex/ |
| ScratchBuffer.h | 25 SourceManager &SourceMgr;
|
| /src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| RawCommentList.h | 47 RawComment(const SourceManager &SourceMgr, SourceRange SR, 98 StringRef getRawText(const SourceManager &SourceMgr) const { 102 RawText = getRawTextSlow(SourceMgr); 139 std::string getFormattedText(const SourceManager &SourceMgr, 171 StringRef getRawTextSlow(const SourceManager &SourceMgr) const; 182 RawCommentList(SourceManager &SourceMgr) : SourceMgr(SourceMgr) {} 198 SourceManager &SourceMgr;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/MCA/ |
| SourceMgr.h | 1 //===--------------------- SourceMgr.h --------------------------*- C++ -*-===// 9 /// This file implements class SourceMgr. Class SourceMgr abstracts the input 28 class SourceMgr { 36 SourceMgr(ArrayRef<UniqueInst> S, unsigned Iter)
|
| Context.h | 24 #include "llvm/MCA/SourceMgr.h" 70 SourceMgr &SrcMgr); 75 SourceMgr &SrcMgr);
|
| /src/external/apache2/llvm/dist/llvm/lib/FileCheck/ |
| FileCheckImpl.h | 23 #include "llvm/Support/SourceMgr.h" 104 const SourceMgr &SM) const; 193 getImplicitFormat(const SourceMgr &SM) const { 341 getImplicitFormat(const SourceMgr &SM) const override { 382 getImplicitFormat(const SourceMgr &SM) const override; 506 SourceMgr &SM); 557 static Error get(const SourceMgr &SM, SMLoc Loc, const Twine &ErrMsg, 560 SM.GetMessage(Loc, SourceMgr::DK_Error, ErrMsg), Range); 563 static Error get(const SourceMgr &SM, StringRef Buffer, const Twine &ErrMsg) { 710 const SourceMgr &SM) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| RawCommentList.cpp | 109 RawComment::RawComment(const SourceManager &SourceMgr, SourceRange SR, 115 if (SR.getBegin() == SR.getEnd() || getRawText(SourceMgr).empty()) { 129 SourceMgr.getDecomposedLoc(Range.getBegin()); 133 SourceMgr.getBufferData(BeginFileID, &Invalid).data(); 152 StringRef RawComment::getRawTextSlow(const SourceManager &SourceMgr) const { 159 SourceMgr.getDecomposedLoc(Range.getBegin()); 160 std::tie(EndFileID, EndOffset) = SourceMgr.getDecomposedLoc(Range.getEnd()); 170 const char *BufferStart = SourceMgr.getBufferData(BeginFileID, 284 SourceMgr.getDecomposedLoc(RC.getBeginLoc()); 316 commentsStartOnSameColumn(SourceMgr, C1, C2))) & [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| SourceMgr.cpp | 1 //===- SourceMgr.cpp - Manager for Simple Source Buffers & Diagnostics ----===// 9 // This file implements the SourceMgr class. This class is used as a simple 15 #include "llvm/Support/SourceMgr.h" 40 unsigned SourceMgr::AddIncludeFile(const std::string &Filename, 61 unsigned SourceMgr::FindBufferContainingLoc(SMLoc Loc) const { 92 unsigned SourceMgr::SrcBuffer::getLineNumberSpecialized(const char *Ptr) const { 110 unsigned SourceMgr::SrcBuffer::getLineNumber(const char *Ptr) const { 123 const char *SourceMgr::SrcBuffer::getPointerForLineNumberSpecialized( 146 SourceMgr::SrcBuffer::getPointerForLineNumber(unsigned LineNo) const { 158 SourceMgr::SrcBuffer::SrcBuffer(SourceMgr::SrcBuffer &&Other [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Rewrite/ |
| Rewriter.cpp | 170 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 203 const char *Ptr = SourceMgr->getCharacterData(Range.getBegin()); 209 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 220 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 234 std::pair<FileID, unsigned> V = SourceMgr->getDecomposedLoc(Loc); 247 StringRef MB = SourceMgr->getBufferData(FID); 263 StringRef MB = SourceMgr->getBufferData(FID); 265 unsigned lineNo = SourceMgr->getLineNumber(FID, StartOffs) - 1; 267 &SourceMgr->getSLocEntry(FID).getFile().getContentCache(); 340 StringRef MB = SourceMgr->getBufferData(FID) [all...] |