Searched refs:SM (Results 51 - 75 of 185) sorted by relevance

12345678

/external/clang/lib/AST/
H A DStmtDumper.cpp30 SourceManager *SM; member in class:__anon3523::StmtDumper
46 : SM(sm), OS(os), IndentLevel(0-1), MaxDepth(maxDepth) {
185 SourceLocation SpellingLoc = SM->getSpellingLoc(Loc);
189 PresumedLoc PLoc = SM->getPresumedLoc(SpellingLoc);
212 if (SM == 0) return;
730 void Stmt::dump(SourceManager &SM) const {
731 dump(llvm::errs(), SM); local
734 void Stmt::dump(raw_ostream &OS, SourceManager &SM) const {
735 StmtDumper P(&SM, OS, 4);
750 void Stmt::dumpAll(SourceManager &SM) cons
[all...]
H A DCommentLexer.cpp10 void Token::dump(const Lexer &L, const SourceManager &SM) const {
12 Loc.dump(SM);
13 llvm::errs() << " " << Length << " \"" << L.getSpelling(*this, SM) << "\"\n";
/external/clang/include/clang/Edit/
H A DEditedSource.h47 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, argument
49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec),
/external/llvm/lib/AsmParser/
H A DLLLexer.h33 SourceMgr &SM; member in class:llvm::LLLexer
46 explicit LLLexer(MemoryBuffer *StartBuf, SourceMgr &SM, SMDiagnostic &,
/external/clang/lib/Tooling/
H A DRefactoring.cpp51 SourceManager &SM = Rewrite.getSourceMgr(); local
52 const FileEntry *Entry = SM.getFileManager().getFile(FilePath);
56 // FIXME: Use SM.translateFile directly.
57 SourceLocation Location = SM.translateFileLineCol(Entry, 1, 1);
59 SM.getFileID(Location) :
60 SM.createFileID(Entry, SourceLocation(), SrcMgr::C_User);
64 SM.getLocForStartOfFile(ID).
/external/clang/lib/Lex/
H A DTokenConcatenation.cpp54 SourceManager &SM = PP.getSourceManager();
55 const char *Ptr = SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
129 SourceManager &SM = PP.getSourceManager(); local
130 return *SM.getCharacterData(SM.getSpellingLoc(Tok.getLocation()));
H A DMacroInfo.cpp61 unsigned MacroInfo::getDefinitionLengthSlow(SourceManager &SM) const {
78 startInfo = SM.getDecomposedExpansionLoc(macroStart);
80 endInfo = SM.getDecomposedExpansionLoc(macroEnd);
H A DPreprocessingRecord.cpp40 PreprocessingRecord::PreprocessingRecord(SourceManager &SM, argument
42 : SourceMgr(SM),
72 SourceManager &SM) {
81 if (SM.isInFileID(SM.getFileLoc(Loc), FID))
175 const SourceManager &SM; member in struct:__anon133::PPEntityComp
177 explicit PPEntityComp(const SourceManager &SM) : SM(SM) { } argument
182 return SM
71 isPreprocessedEntityIfInFileID(PreprocessedEntity *PPE, FileID FID, SourceManager &SM) argument
[all...]
/external/clang/lib/StaticAnalyzer/Checkers/
H A DObjCUnusedIVarsChecker.cpp101 SourceManager &SM) {
106 if (SM.getFileID(L) == FID)
159 SourceManager &SM = BR.getSourceManager();
160 Scan(M, D->getDeclContext(), SM.getFileID(D->getLocation()), SM);
100 Scan(IvarUsageMap &M, const DeclContext *C, const FileID FID, SourceManager &SM) argument
/external/clang/include/clang/Lex/
H A DMacroInfo.h163 unsigned getDefinitionLength(SourceManager &SM) const {
166 return getDefinitionLengthSlow(SM);
326 unsigned getDefinitionLengthSlow(SourceManager &SM) const;
H A DPreprocessingRecord.h319 SourceManager &SM; member in class:clang::PreprocessingRecord::CondDirectiveLoc::Comp
321 explicit Comp(SourceManager &SM) : SM(SM) {} argument
324 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS.getLoc());
327 return SM.isBeforeInTranslationUnit(LHS.getLoc(), RHS);
330 return SM.isBeforeInTranslationUnit(LHS, RHS.getLoc());
392 PreprocessingRecord(SourceManager &SM, bool RecordConditionalDirectives);
H A DLiteralSupport.h165 const SourceManager &SM; member in class:clang::StringLiteralParser
185 : SM(sm), Features(features), Target(target), Diags(diags),
/external/clang/lib/ARCMigrate/
H A DTransRetainReleaseDealloc.cpp251 SourceManager &SM = Pass.Ctx.getSourceManager();
252 StringRef MacroName = Lexer::getImmediateMacroName(Loc, SM,
303 if (SM.isMacroArgExpansion(RecRange.getBegin()))
304 RecRange.setBegin(SM.getImmediateSpellingLoc(RecRange.getBegin()));
305 if (SM.isMacroArgExpansion(RecRange.getEnd()))
306 RecRange.setEnd(SM.getImmediateSpellingLoc(RecRange.getEnd()));
H A DTransBlockObjCVariable.cpp141 SourceManager &SM = Pass.Ctx.getSourceManager(); local
143 Pass.TA.replaceText(SM.getExpansionLoc(attr->getLocation()),
H A DTransGCAttrs.cpp94 SourceManager &SM = Ctx.getSourceManager(); local
96 Loc = SM.getImmediateExpansionRange(Loc).first;
100 SM.getSpellingLoc(TL.getAttrEnumOperandLoc()),
101 Buf, SM, Ctx.getLangOpts(), &Invalid);
180 SourceManager &SM = MigrateCtx.Pass.Ctx.getSourceManager();
181 return SM.isInFileID(SM.getExpansionLoc(Loc), SM.getMainFileID());
/external/clang/tools/arcmt-test/
H A Darcmt-test.cpp310 SourceManager &SM = Ctx.getSourceManager(); local
311 PresumedLoc PL = SM.getPresumedLoc(loc);
320 SourceManager &SM = Ctx.getSourceManager(); local
323 PresumedLoc PL = SM.getPresumedLoc(range.getBegin());
331 PL = SM.getPresumedLoc(end);
335 endCol += Lexer::MeasureTokenLength(end, SM, langOpts);
/external/clang/tools/libclang/
H A DCIndexDiagnostic.cpp118 const SourceManager *SM,
124 if (SM)
125 L = translateSourceLocation(*SM, LangOpts, Loc);
135 const SourceManager &SM) {}
141 const SourceManager &SM) {}
144 const SourceManager *SM) {
146 if (SM)
147 L = translateSourceLocation(*SM, LangOpts, Loc);
114 emitDiagnosticMessage(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, StringRef Message, ArrayRef<CharSourceRange> Ranges, const SourceManager *SM, DiagOrStoredDiag D) argument
132 emitDiagnosticLoc(SourceLocation Loc, PresumedLoc PLoc, DiagnosticsEngine::Level Level, ArrayRef<CharSourceRange> Ranges, const SourceManager &SM) argument
137 emitCodeContext(SourceLocation Loc, DiagnosticsEngine::Level Level, SmallVectorImpl<CharSourceRange>& Ranges, ArrayRef<FixItHint> Hints, const SourceManager &SM) argument
143 emitNote(SourceLocation Loc, StringRef Message, const SourceManager *SM) argument
/external/llvm/include/llvm/MC/
H A DMCInstrItineraries.h125 InstrItineraryData(const MCSchedModel *SM, const InstrStage *S, argument
127 : SchedModel(SM), Stages(S), OperandCycles(OS), Forwardings(F),
/external/clang/lib/CodeGen/
H A DCodeGenAction.cpp180 static void InlineAsmDiagHandler(const llvm::SMDiagnostic &SM,void *Context, argument
183 ((BackendConsumer*)Context)->InlineAsmDiagHandler2(SM, Loc);
373 SourceManager &SM = CI.getSourceManager(); local
374 const llvm::MemoryBuffer *MainFile = SM.getBuffer(SM.getMainFileID(),
388 SourceLocation Loc = SM.translateFileLineCol(
389 SM.getFileEntryForID(SM.getMainFileID()), Err.getLineNo(),
/external/clang/lib/Frontend/
H A DFrontendActions.cpp368 SourceManager &SM = PP.getSourceManager(); local
371 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID());
372 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts());
442 const SourceManager& SM = CI.getSourceManager(); local
443 const llvm::MemoryBuffer *Buffer = SM.getBuffer(SM.getMainFileID(),
H A DDependencyFile.cpp110 SourceManager &SM = PP->getSourceManager();
113 SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(Loc)));
/external/clang/include/clang/Rewrite/Core/
H A DTokenRewriter.h51 TokenRewriter(FileID FID, SourceManager &SM, const LangOptions &LO);
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBrowserCompatSpec.java45 import org.apache.http.cookie.SM;
161 buffer.append(SM.COOKIE);
H A DNetscapeDraftSpec.java44 import org.apache.http.cookie.SM;
155 buffer.append(SM.COOKIE);
/external/llvm/lib/TableGen/
H A DTGLexer.cpp30 TGLexer::TGLexer(SourceMgr &SM) : SrcMgr(SM) { argument

Completed in 367 milliseconds

12345678