Home
last modified time | relevance | path

Searched defs:SM (Results 1 – 25 of 652) sorted by relevance

12345678910>>...27

/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp51 const SourceManager &SM, const LangOptions &LangOpts, in mergeFixits()
86 const SourceManager *SM, in emitDiagnostic()
169 const SourceManager &SM) { in emitIncludeStack()
193 const SourceManager &SM) { in emitIncludeStackRecursively()
222 const SourceManager &SM) { in emitImportStack()
237 const SourceManager &SM) { in emitImportStackRecursively()
255 void DiagnosticRenderer::emitModuleBuildStack(const SourceManager &SM) { in emitModuleBuildStack()
274 bool IsBegin, const SourceManager *SM) { in retrieveMacroLocation()
315 bool IsBegin, const SourceManager *SM) { in getMacroArgExpansionFileIDs()
330 SourceLocation Begin, SourceLocation End, const SourceManager *SM, in computeCommonMacroArgExpansionFileIDs()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DLexerUtils.cpp17 Token getPreviousToken(SourceLocation Location, const SourceManager &SM, in getPreviousToken()
39 const SourceManager &SM, in findPreviousTokenStart()
52 const SourceManager &SM, in findPreviousTokenKind()
74 SourceLocation findNextTerminator(SourceLocation Start, const SourceManager &SM, in findNextTerminator()
80 const SourceManager &SM, in findNextTokenSkippingComments()
90 const SourceManager &SM, in rangeContainsExpansionsOrDirectives()
116 const SourceManager &SM) { in getQualifyingToken()
DASTUtils.cpp42 bool exprHasBitFlagWithSpelling(const Expr *Flags, const SourceManager &SM, in exprHasBitFlagWithSpelling()
70 const SourceManager *SM) { in rangeIsEntirelyWithinMacroArgument()
85 bool rangeContainsMacroExpansion(SourceRange Range, const SourceManager *SM) { in rangeContainsMacroExpansion()
90 bool rangeCanBeFixed(SourceRange Range, const SourceManager *SM) { in rangeCanBeFixed()
/external/llvm-project/clang/test/Analysis/
Dinitialization.c20 struct SM { struct
24 const struct SM sm = {.a = 1}; argument
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp54 const SourceManager &SM) { in validateEditRange()
83 const SourceManager &SM, in getRangeForEdit()
104 static bool startsWithNewline(const SourceManager &SM, const Token &Tok) { in startsWithNewline()
122 getEntityEndLoc(const SourceManager &SM, SourceLocation EntityLast, in getEntityEndLoc()
267 static SourceLocation skipWhitespaceAndNewline(const SourceManager &SM, in skipWhitespaceAndNewline()
283 static bool atOrBeforeSeparation(const SourceManager &SM, SourceLocation Loc, in atOrBeforeSeparation()
321 const SourceManager &SM = Context.getSourceManager(); in getAssociatedRange() local
/external/llvm-project/llvm/unittests/Support/
DYAMLParserTest.cpp32 SourceMgr SM; in ExpectParseError() local
41 SourceMgr SM; in ExpectParseSuccess() local
159 SourceMgr SM; in TEST() local
190 SourceMgr SM; in ExpectCanParseString() local
227 SourceMgr SM; in TEST() local
235 SourceMgr SM; in TEST() local
248 SourceMgr SM; in TEST() local
263 SourceMgr SM; in TEST() local
278 SourceMgr SM; in TEST() local
293 SourceMgr SM; in TEST() local
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp216 Position sourceLocToPosition(const SourceManager &SM, SourceLocation Loc) { in sourceLocToPosition()
233 bool isSpelledInSource(SourceLocation Loc, const SourceManager &SM) { in isSpelledInSource()
258 SourceLocation includeHashLoc(FileID IncludedFile, const SourceManager &SM) { in includeHashLoc()
280 static unsigned getTokenLengthAtLoc(SourceLocation Loc, const SourceManager &SM, in getTokenLengthAtLoc()
297 const SourceManager &SM, in getLocForTokenEnd()
305 const SourceManager &SM, in getLocForTokenBegin()
312 static SourceRange toTokenRange(CharSourceRange Range, const SourceManager &SM, in toTokenRange()
322 const SourceManager &SM, in unionTokenRange()
339 static SourceRange rangeInCommonFile(SourceRange R, const SourceManager &SM, in rangeInCommonFile()
372 getExpansionTokenRangeInSameFile(SourceLocation Loc, const SourceManager &SM, in getExpansionTokenRangeInSameFile()
[all …]
DSemanticSelection.cpp41 const SourceManager &SM) { in toFoldingRange()
58 const SourceManager &SM) { in extractFoldingRange()
83 const SourceManager &SM) { in collectFoldingRanges()
105 const auto &SM = AST.getSourceManager(); in getSemanticRanges() local
/external/llvm/unittests/Support/
DYAMLParserTest.cpp33 SourceMgr SM; in ExpectParseError() local
42 SourceMgr SM; in ExpectParseSuccess() local
160 SourceMgr SM; in TEST() local
190 SourceMgr SM; in ExpectCanParseString() local
227 SourceMgr SM; in TEST() local
235 SourceMgr SM; in TEST() local
248 SourceMgr SM; in TEST() local
263 SourceMgr SM; in TEST() local
278 SourceMgr SM; in TEST() local
293 SourceMgr SM; in TEST() local
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DBracesAroundStatementsCheck.cpp21 tok::TokenKind getTokenKind(SourceLocation Loc, const SourceManager &SM, in getTokenKind()
37 const SourceManager &SM, in forwardSkipWhitespaceAndComments()
54 const SourceManager &SM, in findEndLocation()
138 const SourceManager &SM = *Result.SourceManager; in check() local
176 const SourceManager &SM, in findRParenLoc()
223 const SourceManager &SM = *Result.SourceManager; in checkStmt() local
/external/libcxx/test/std/re/re.submatch/
Dtypes.pass.cpp34 typedef std::sub_match<char*> SM; in main() typedef
47 typedef std::sub_match<wchar_t*> SM; in main() typedef
/external/clang/include/clang/Basic/
DPlistSupport.h22 const SourceManager &SM, SourceLocation L) { in AddFID()
31 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID()
90 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation()
106 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.cpp87 std::string MakeAbsolutePath(const SourceManager &SM, StringRef Path) { in MakeAbsolutePath()
128 explicit FindAllIncludes(SourceManager *SM, ClangMoveTool *const MoveTool) in FindAllIncludes()
144 const SourceManager &SM; member in clang::move::__anonbee25c890111::FindAllIncludes
230 SourceManager *SM = &Result.Context->getSourceManager(); in run() local
242 void MatchClassMethod(const CXXMethodDecl *CMD, SourceManager *SM) { in MatchClassMethod()
257 void MatchClassStaticVariable(const NamedDecl *VD, SourceManager *SM) { in MatchClassStaticVariable()
261 void MatchClassDeclaration(const CXXRecordDecl *CD, SourceManager *SM) { in MatchClassDeclaration()
280 const auto &SM = D->getASTContext().getSourceManager(); in getLocForEndOfDecl() local
313 const auto &SM = D->getASTContext().getSourceManager(); in getFullRange() local
329 const auto &SM = D->getASTContext().getSourceManager(); in getDeclarationSourceText() local
[all …]
/external/llvm-project/libcxx/test/std/re/re.submatch/
Dtypes.pass.cpp33 typedef std::sub_match<char*> SM; in main() typedef
46 typedef std::sub_match<wchar_t*> SM; in main() typedef
/external/libcxx/test/std/re/re.submatch/re.submatch.members/
Ddefault.pass.cpp24 typedef std::sub_match<const CharT*> SM; in main() typedef
30 typedef std::sub_match<const CharT*> SM; in main() typedef
Dcompare_value_type_ptr.pass.cpp24 typedef std::sub_match<const CharT*> SM; in main() typedef
36 typedef std::sub_match<const CharT*> SM; in main() typedef
Dlength.pass.cpp24 typedef std::sub_match<const CharT*> SM; in main() typedef
35 typedef std::sub_match<const CharT*> SM; in main() typedef
/external/llvm-project/clang/lib/Analysis/
DCFGStmtMap.cpp27 SMap *SM = AsMap(M); in getBlock() local
48 static void Accumulate(SMap &SM, CFGBlock *B) { in Accumulate()
81 SMap *SM = new SMap(); in Build() local
/external/clang/lib/Analysis/
DCFGStmtMap.cpp28 SMap *SM = AsMap(M); in getBlock() local
49 static void Accumulate(SMap &SM, CFGBlock *B) { in Accumulate()
82 SMap *SM = new SMap(); in Build() local
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheck.cpp72 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) { in parseVariable()
116 Optional<size_t> LineNumber, const SourceMgr &SM) { in parseNumericVariableDefinition()
150 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericVariableUse()
184 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericOperand()
219 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseBinop()
261 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericSubstitutionBlock()
310 SourceMgr &SM, const FileCheckRequest &Req) { in parsePattern()
582 bool Pattern::AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM) { in AddRegExToRegEx()
711 void Pattern::printSubstitutions(const SourceMgr &SM, StringRef Buffer, in printSubstitutions()
753 const SourceMgr &SM, SMLoc Loc, in ProcessMatchResult()
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp60 std::string toURI(const SourceManager &SM, llvm::StringRef Path, in toURI()
81 const auto &SM = ND.getASTContext().getSourceManager(); in isPrivateProtoDecl() local
127 getTokenRange(SourceLocation TokLoc, const SourceManager &SM, in getTokenRange()
144 getTokenLocation(SourceLocation TokLoc, const SourceManager &SM, in getTokenLocation()
167 const auto &SM = ND.getASTContext().getSourceManager(); in isPreferredDeclaration() local
305 auto &SM = ASTCtx->getSourceManager(); in handleDeclOccurrence() local
382 const auto &SM = PP->getSourceManager(); in handleMacros() local
412 const auto &SM = PP->getSourceManager(); in handleMacroOccurrence() local
571 const auto &SM = ASTCtx->getSourceManager(); in finish() local
646 auto &SM = Ctx.getSourceManager(); in addDeclaration() local
[all …]
/external/llvm-project/llvm/include/llvm/MCA/Stages/
DEntryStage.h29 SourceMgr &SM; variable
39 EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { } in EntryStage()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/Stages/
DEntryStage.h29 SourceMgr &SM; variable
39 EntryStage(SourceMgr &SM) : CurrentInstruction(), SM(SM), NumRetired(0) { } in EntryStage()
/external/llvm-project/libcxx/test/std/re/re.submatch/re.submatch.members/
Ddefault.pass.cpp23 typedef std::sub_match<const CharT*> SM; in main() typedef
29 typedef std::sub_match<const CharT*> SM; in main() typedef
/external/llvm-project/clang/include/clang/Basic/
DPlistSupport.h39 const SourceManager &SM, SourceLocation L) { in AddFID()
50 inline unsigned GetFID(const FIDMap &FIDs, const SourceManager &SM, in GetFID()
107 inline void EmitLocation(raw_ostream &o, const SourceManager &SM, in EmitLocation()
123 inline void EmitRange(raw_ostream &o, const SourceManager &SM, in EmitRange()

12345678910>>...27