Home
last modified time | relevance | path

Searched refs:SM (Results 1 – 25 of 1673) sorted by relevance

12345678910>>...67

/external/clang/lib/Frontend/
DDiagnosticRenderer.cpp51 const SourceManager &SM, const LangOptions &LangOpts, in mergeFixits() argument
53 edit::Commit commit(SM, LangOpts); in mergeFixits()
74 edit::EditedSource Editor(SM, LangOpts); in mergeFixits()
86 const SourceManager *SM, in emitDiagnostic() argument
88 assert(SM || Loc.isInvalid()); in emitDiagnostic()
94 emitDiagnosticMessage(Loc, PresumedLoc(), Level, Message, Ranges, SM, D); in emitDiagnostic()
102 mergeFixits(FixItHints, *SM, LangOpts, MergedFixits); in emitDiagnostic()
115 Loc = SM->getFileLoc(Loc); in emitDiagnostic()
117 PresumedLoc PLoc = SM->getPresumedLoc(Loc, DiagOpts->ShowPresumedLoc); in emitDiagnostic()
121 emitIncludeStack(Loc, PLoc, Level, *SM); in emitDiagnostic()
[all …]
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.cpp216 Position sourceLocToPosition(const SourceManager &SM, SourceLocation Loc) { in sourceLocToPosition() argument
220 std::tie(FID, Offset) = SM.getDecomposedSpellingLoc(Loc); in sourceLocToPosition()
222 P.line = static_cast<int>(SM.getLineNumber(FID, Offset)) - 1; in sourceLocToPosition()
224 llvm::StringRef Code = SM.getBufferData(FID, &Invalid); in sourceLocToPosition()
226 auto ColumnInBytes = SM.getColumnNumber(FID, Offset) - 1; in sourceLocToPosition()
233 bool isSpelledInSource(SourceLocation Loc, const SourceManager &SM) { in isSpelledInSource() argument
235 std::string PrintLoc = SM.getSpellingLoc(Loc).printToString(SM); in isSpelledInSource()
258 SourceLocation includeHashLoc(FileID IncludedFile, const SourceManager &SM) { in includeHashLoc() argument
259 assert(SM.getLocForEndOfFile(IncludedFile).isFileID()); in includeHashLoc()
263 SM.getDecomposedExpansionLoc(SM.getIncludeLoc(IncludedFile)); in includeHashLoc()
[all …]
DSemanticSelection.cpp41 const SourceManager &SM) { in toFoldingRange() argument
42 const auto Begin = SM.getDecomposedLoc(SR.getBegin()), in toFoldingRange()
43 End = SM.getDecomposedLoc(SR.getEnd()); in toFoldingRange()
47 if ((Begin.first != SM.getMainFileID()) || (End.first != SM.getMainFileID())) in toFoldingRange()
50 Range.startCharacter = SM.getColumnNumber(Begin.first, Begin.second) - 1; in toFoldingRange()
51 Range.startLine = SM.getLineNumber(Begin.first, Begin.second) - 1; in toFoldingRange()
52 Range.endCharacter = SM.getColumnNumber(End.first, End.second) - 1; in toFoldingRange()
53 Range.endLine = SM.getLineNumber(End.first, End.second) - 1; in toFoldingRange()
58 const SourceManager &SM) { in extractFoldingRange() argument
72 auto Range = toFoldingRange(SourceRange(LBraceLocInfo, RBraceLocInfo), SM); in extractFoldingRange()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNullptrCheck.cpp53 const SourceManager &SM) { in isReplaceableRange() argument
54 return SM.isWrittenInSameFile(StartLoc, EndLoc); in isReplaceableRange()
60 void replaceWithNullptr(ClangTidyCheck &Check, SourceManager &SM, in replaceWithNullptr() argument
67 bool NeedsSpace = isAlphanumeric(*SM.getCharacterData(PreviousLocation)); in replaceWithNullptr()
79 StringRef getOutermostMacroName(SourceLocation Loc, const SourceManager &SM, in getOutermostMacroName() argument
86 Loc = SM.getImmediateMacroCallerLoc(Loc); in getOutermostMacroName()
89 return Lexer::getImmediateMacroName(OutermostMacroLoc, SM, LO); in getOutermostMacroName()
97 MacroArgUsageVisitor(SourceLocation CastLoc, const SourceManager &SM) in MacroArgUsageVisitor() argument
98 : CastLoc(CastLoc), SM(SM), Visited(false), CastFound(false), in MacroArgUsageVisitor()
129 if (SM.getFileLoc(S->getBeginLoc()) != CastLoc) in VisitStmt()
[all …]
DUseTrailingReturnTypeCheck.cpp112 const SourceManager &SM) { in expandIfMacroId() argument
114 Loc = expandIfMacroId(SM.getImmediateExpansionRange(Loc).getBegin(), SM); in expandIfMacroId()
122 const SourceManager &SM, const LangOptions &LangOpts) { in findTrailingReturnTypeSourceLocation() argument
126 return Lexer::getLocForEndOfToken(ExceptionSpecRange.getEnd(), 0, SM, in findTrailingReturnTypeSourceLocation()
136 Lexer::getLocForEndOfToken(ClosingParen, 0, SM, LangOpts); in findTrailingReturnTypeSourceLocation()
139 std::pair<FileID, unsigned> Loc = SM.getDecomposedLoc(Result); in findTrailingReturnTypeSourceLocation()
140 StringRef File = SM.getBufferData(Loc.first); in findTrailingReturnTypeSourceLocation()
142 Lexer Lexer(SM.getLocForStartOfFile(Loc.first), LangOpts, File.begin(), in findTrailingReturnTypeSourceLocation()
148 StringRef(SM.getCharacterData(T.getLocation()), T.getLength())); in findTrailingReturnTypeSourceLocation()
214 const FunctionDecl &F, const ASTContext &Ctx, const SourceManager &SM, in classifyTokensBeforeFunctionName() argument
[all …]
/external/llvm-project/clang/lib/Tooling/Transformer/
DSourceCode.cpp54 const SourceManager &SM) { in validateEditRange() argument
63 if (SM.isInSystemHeader(Range.getBegin()) || in validateEditRange()
64 SM.isInSystemHeader(Range.getEnd())) in validateEditRange()
68 std::pair<FileID, unsigned> BeginInfo = SM.getDecomposedLoc(Range.getBegin()); in validateEditRange()
69 std::pair<FileID, unsigned> EndInfo = SM.getDecomposedLoc(Range.getEnd()); in validateEditRange()
83 const SourceManager &SM, in getRangeForEdit() argument
96 CharSourceRange Range = Lexer::makeFileCharRange(EditRange, SM, LangOpts); in getRangeForEdit()
97 bool IsInvalid = llvm::errorToBool(validateEditRange(Range, SM)); in getRangeForEdit()
104 static bool startsWithNewline(const SourceManager &SM, const Token &Tok) { in startsWithNewline() argument
105 return isVerticalWhitespace(SM.getCharacterData(Tok.getLocation())[0]); in startsWithNewline()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DBracesAroundStatementsCheck.cpp21 tok::TokenKind getTokenKind(SourceLocation Loc, const SourceManager &SM, in getTokenKind() argument
25 Lexer::GetBeginningOfToken(Loc, SM, Context->getLangOpts()); in getTokenKind()
27 Lexer::getRawToken(Beginning, Tok, SM, Context->getLangOpts()); in getTokenKind()
37 const SourceManager &SM, in forwardSkipWhitespaceAndComments() argument
41 while (isWhitespace(*SM.getCharacterData(Loc))) in forwardSkipWhitespaceAndComments()
44 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in forwardSkipWhitespaceAndComments()
49 Loc = Lexer::getLocForEndOfToken(Loc, 0, SM, Context->getLangOpts()); in forwardSkipWhitespaceAndComments()
54 const SourceManager &SM, in findEndLocation() argument
57 Lexer::GetBeginningOfToken(LastTokenLoc, SM, Context->getLangOpts()); in findEndLocation()
62 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context); in findEndLocation()
[all …]
DMisleadingIndentationCheck.cpp19 static const IfStmt *getPrecedingIf(const SourceManager &SM, in getPrecedingIf() argument
26 if (SM.getExpansionLineNumber(PreviousElseLoc) == in getPrecedingIf()
27 SM.getExpansionLineNumber(If->getIfLoc())) in getPrecedingIf()
33 void MisleadingIndentationCheck::danglingElseCheck(const SourceManager &SM, in danglingElseCheck() argument
42 if (SM.getExpansionLineNumber(If->getThen()->getEndLoc()) == in danglingElseCheck()
43 SM.getExpansionLineNumber(ElseLoc)) in danglingElseCheck()
47 for (auto PrecedingIf = getPrecedingIf(SM, Context, If); PrecedingIf; in danglingElseCheck()
48 PrecedingIf = getPrecedingIf(SM, Context, PrecedingIf)) in danglingElseCheck()
51 if (SM.getExpansionColumnNumber(IfLoc) != in danglingElseCheck()
52 SM.getExpansionColumnNumber(ElseLoc)) in danglingElseCheck()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DLexerUtils.cpp17 Token getPreviousToken(SourceLocation Location, const SourceManager &SM, in getPreviousToken() argument
26 auto StartOfFile = SM.getLocForStartOfFile(SM.getFileID(Location)); in getPreviousToken()
28 Location = Lexer::GetBeginningOfToken(Location, SM, LangOpts); in getPreviousToken()
29 if (!Lexer::getRawToken(Location, Token, SM, LangOpts) && in getPreviousToken()
39 const SourceManager &SM, in findPreviousTokenStart() argument
48 return Lexer::GetBeginningOfToken(BeforeStart, SM, LangOpts); in findPreviousTokenStart()
52 const SourceManager &SM, in findPreviousTokenKind() argument
59 SourceLocation L = findPreviousTokenStart(Start, SM, LangOpts); in findPreviousTokenKind()
64 if (Lexer::getRawToken(L, T, SM, LangOpts, /*IgnoreWhiteSpace=*/true)) in findPreviousTokenKind()
74 SourceLocation findNextTerminator(SourceLocation Start, const SourceManager &SM, in findNextTerminator() argument
[all …]
DASTUtils.cpp42 bool exprHasBitFlagWithSpelling(const Expr *Flags, const SourceManager &SM, in exprHasBitFlagWithSpelling() argument
47 if (!SM.isMacroBodyExpansion(Flags->getBeginLoc()) && in exprHasBitFlagWithSpelling()
48 !SM.isMacroArgExpansion(Flags->getBeginLoc())) in exprHasBitFlagWithSpelling()
53 CharSourceRange::getTokenRange(Flags->getSourceRange()), SM, LangOpts); in exprHasBitFlagWithSpelling()
60 return exprHasBitFlagWithSpelling(BO->getLHS()->IgnoreParenCasts(), SM, in exprHasBitFlagWithSpelling()
62 exprHasBitFlagWithSpelling(BO->getRHS()->IgnoreParenCasts(), SM, in exprHasBitFlagWithSpelling()
70 const SourceManager *SM) { in rangeIsEntirelyWithinMacroArgument() argument
75 SM && in rangeIsEntirelyWithinMacroArgument()
76 SM->isMacroArgExpansion(Range.getBegin(), in rangeIsEntirelyWithinMacroArgument()
78 SM->isMacroArgExpansion(Range.getEnd(), in rangeIsEntirelyWithinMacroArgument()
[all …]
/external/llvm-project/clang-tools-extra/clangd/index/
DSymbolCollector.cpp60 std::string toURI(const SourceManager &SM, llvm::StringRef Path, in toURI() argument
63 if (auto File = SM.getFileManager().getFile(Path)) { in toURI()
64 if (auto CanonPath = getCanonicalPath(*File, SM)) { in toURI()
81 const auto &SM = ND.getASTContext().getSourceManager(); in isPrivateProtoDecl() local
82 if (!isProtoFile(nameLocation(ND, SM), SM)) in isPrivateProtoDecl()
127 getTokenRange(SourceLocation TokLoc, const SourceManager &SM, in getTokenRange() argument
129 auto CreatePosition = [&SM](SourceLocation Loc) { in getTokenRange()
130 auto LSPLoc = sourceLocToPosition(SM, Loc); in getTokenRange()
137 auto TokenLength = clang::Lexer::MeasureTokenLength(TokLoc, SM, LangOpts); in getTokenRange()
144 getTokenLocation(SourceLocation TokLoc, const SourceManager &SM, in getTokenLocation() argument
[all …]
/external/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp86 const SourceManager &SM, in ReportControlFlow() argument
110 SM.getExpansionLoc(I->getStart().asRange().getBegin())); in ReportControlFlow()
111 EmitRange(o, SM, Lexer::getAsCharRange(StartEdge, SM, LangOpts), FM, in ReportControlFlow()
115 SourceRange EndEdge(SM.getExpansionLoc(I->getEnd().asRange().getBegin())); in ReportControlFlow()
116 EmitRange(o, SM, Lexer::getAsCharRange(EndEdge, SM, LangOpts), FM, in ReportControlFlow()
139 const SourceManager &SM, in ReportEvent() argument
158 EmitLocation(o, SM, L, FM, indent); in ReportEvent()
168 EmitRange(o, SM, in ReportEvent()
169 Lexer::getAsCharRange(SM.getExpansionRange(R), SM, LangOpts), in ReportEvent()
198 const FIDMap& FM, const SourceManager &SM,
[all …]
/external/llvm-project/clang/lib/Frontend/
DDiagnosticRenderer.cpp60 const SourceManager &SM, const LangOptions &LangOpts, in mergeFixits() argument
62 edit::Commit commit(SM, LangOpts); in mergeFixits()
80 edit::EditedSource Editor(SM, LangOpts); in mergeFixits()
249 void DiagnosticRenderer::emitModuleBuildStack(const SourceManager &SM) { in emitModuleBuildStack() argument
250 ModuleBuildStack Stack = SM.getModuleBuildStack(); in emitModuleBuildStack()
264 bool IsBegin, const SourceManager *SM, in retrieveMacroLocation() argument
266 assert(SM->getFileID(Loc) == MacroFileID); in retrieveMacroLocation()
274 if (SM->isMacroArgExpansion(Loc)) { in retrieveMacroLocation()
280 CharSourceRange(SM->getImmediateSpellingLoc(Loc), IsTokenRange); in retrieveMacroLocation()
281 MacroArgRange = SM->getImmediateExpansionRange(Loc); in retrieveMacroLocation()
[all …]
/external/llvm-project/libcxx/test/std/re/re.submatch/
Dtypes.pass.cpp33 typedef std::sub_match<char*> SM; in main() typedef
34 static_assert((std::is_same<SM::iterator, char*>::value), ""); in main()
35 static_assert((std::is_same<SM::value_type, char>::value), ""); in main()
36 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), ""); in main()
37 static_assert((std::is_same<SM::string_type, std::string>::value), ""); in main()
38 static_assert((std::is_convertible<SM*, std::pair<char*, char*>*>::value), ""); in main()
40 SM sm; in main()
46 typedef std::sub_match<wchar_t*> SM; in main() typedef
47 static_assert((std::is_same<SM::iterator, wchar_t*>::value), ""); in main()
48 static_assert((std::is_same<SM::value_type, wchar_t>::value), ""); in main()
[all …]
/external/libcxx/test/std/re/re.submatch/
Dtypes.pass.cpp34 typedef std::sub_match<char*> SM; in main() typedef
35 static_assert((std::is_same<SM::iterator, char*>::value), ""); in main()
36 static_assert((std::is_same<SM::value_type, char>::value), ""); in main()
37 static_assert((std::is_same<SM::difference_type, std::ptrdiff_t>::value), ""); in main()
38 static_assert((std::is_same<SM::string_type, std::string>::value), ""); in main()
39 static_assert((std::is_convertible<SM*, std::pair<char*, char*>*>::value), ""); in main()
41 SM sm; in main()
47 typedef std::sub_match<wchar_t*> SM; in main() typedef
48 static_assert((std::is_same<SM::iterator, wchar_t*>::value), ""); in main()
49 static_assert((std::is_same<SM::value_type, wchar_t>::value), ""); in main()
[all …]
/external/clang/include/clang/Frontend/
DDiagnosticRenderer.h79 const SourceManager *SM,
85 const SourceManager &SM) = 0;
91 const SourceManager &SM) = 0;
94 const SourceManager &SM) = 0;
97 const SourceManager &SM) = 0;
100 const SourceManager &SM) = 0;
111 DiagnosticsEngine::Level Level, const SourceManager &SM);
112 void emitIncludeStackRecursively(SourceLocation Loc, const SourceManager &SM);
113 void emitImportStack(SourceLocation Loc, const SourceManager &SM);
115 const SourceManager &SM);
[all …]
/external/llvm-project/llvm/unittests/Support/
DYAMLParserTest.cpp32 SourceMgr SM; in ExpectParseError() local
33 yaml::Stream Stream(Input, SM); in ExpectParseError()
34 SM.setDiagHandler(SuppressDiagnosticsOutput); in ExpectParseError()
41 SourceMgr SM; in ExpectParseSuccess() local
42 yaml::Stream Stream(Input, SM); in ExpectParseSuccess()
159 SourceMgr SM; in TEST() local
160 yaml::Stream Stream("test: |\n Hello\n World\n", SM); in TEST()
190 SourceMgr SM; in ExpectCanParseString() local
191 yaml::Stream Stream(StringInArray, SM); in ExpectCanParseString()
227 SourceMgr SM; in TEST() local
[all …]
/external/llvm-project/clang/lib/Basic/
DSourceLocation.cpp35 Loc.print(OS, SM); in print()
54 void SourceLocation::print(raw_ostream &OS, const SourceManager &SM)const{ in print()
61 PresumedLoc PLoc = SM.getPresumedLoc(*this); in print()
73 SM.getExpansionLoc(*this).print(OS, SM); in print()
76 SM.getSpellingLoc(*this).print(OS, SM); in print()
81 SourceLocation::printToString(const SourceManager &SM) const { in printToString()
84 print(OS, SM); in printToString()
88 LLVM_DUMP_METHOD void SourceLocation::dump(const SourceManager &SM) const { in dump()
89 print(llvm::errs(), SM); in dump()
93 LLVM_DUMP_METHOD void SourceRange::dump(const SourceManager &SM) const { in dump()
[all …]
/external/llvm/unittests/Support/
DYAMLParserTest.cpp33 SourceMgr SM; in ExpectParseError() local
34 yaml::Stream Stream(Input, SM); in ExpectParseError()
35 SM.setDiagHandler(SuppressDiagnosticsOutput); in ExpectParseError()
42 SourceMgr SM; in ExpectParseSuccess() local
43 yaml::Stream Stream(Input, SM); in ExpectParseSuccess()
160 SourceMgr SM; in TEST() local
161 yaml::Stream Stream("test: |\n Hello\n World\n", SM); in TEST()
190 SourceMgr SM; in ExpectCanParseString() local
191 yaml::Stream Stream(StringInArray, SM); in ExpectCanParseString()
227 SourceMgr SM; in TEST() local
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DFileCheck.cpp72 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) { in parseVariable() argument
74 return ErrorDiagnostic::get(SM, Str, "empty variable name"); in parseVariable()
86 return ErrorDiagnostic::get(SM, Str, "invalid variable name"); in parseVariable()
116 Optional<size_t> LineNumber, const SourceMgr &SM) { in parseNumericVariableDefinition() argument
117 Expected<VariableProperties> ParseVarResult = parseVariable(Expr, SM); in parseNumericVariableDefinition()
124 SM, Name, "definition of pseudo numeric variable unsupported"); in parseNumericVariableDefinition()
131 SM, Name, "string variable with name '" + Name + "' already exists"); in parseNumericVariableDefinition()
136 SM, Expr, "unexpected characters after numeric variable name"); in parseNumericVariableDefinition()
150 FileCheckPatternContext *Context, const SourceMgr &SM) { in parseNumericVariableUse() argument
153 SM, Name, "invalid pseudo numeric variable '" + Name + "'"); in parseNumericVariableUse()
[all …]
/external/llvm/utils/FileCheck/
DFileCheck.cpp141 SourceMgr &SM,
155 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer,
164 bool AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM);
182 size_t FindRegexVarEnd(StringRef Str, SourceMgr &SM);
188 SourceMgr &SM, in ParsePattern() argument
202 SM.PrintMessage(PatternLoc, SourceMgr::DK_Error, in ParsePattern()
234 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern()
247 if (AddRegExToRegEx(PatternStr.substr(2, End-2), CurParen, SM)) in ParsePattern()
263 size_t End = FindRegexVarEnd(PatternStr.substr(2), SM); in ParsePattern()
266 SM.PrintMessage(SMLoc::getFromPointer(PatternStr.data()), in ParsePattern()
[all …]
/external/llvm-project/llvm/lib/FileCheck/
DFileCheck.cpp122 const SourceMgr &SM) const { in valueFromStringRepr()
129 return ErrorDiagnostic::get(SM, StrVal, OverflowErrorStr); in valueFromStringRepr()
137 return ErrorDiagnostic::get(SM, StrVal, OverflowErrorStr); in valueFromStringRepr()
374 BinaryOperation::getImplicitFormat(const SourceMgr &SM) const { in getImplicitFormat()
375 Expected<ExpressionFormat> LeftFormat = LeftOperand->getImplicitFormat(SM); in getImplicitFormat()
376 Expected<ExpressionFormat> RightFormat = RightOperand->getImplicitFormat(SM); in getImplicitFormat()
390 SM, getExpressionStr(), in getImplicitFormat()
422 Pattern::parseVariable(StringRef &Str, const SourceMgr &SM) { in parseVariable() argument
424 return ErrorDiagnostic::get(SM, Str, "empty variable name"); in parseVariable()
434 return ErrorDiagnostic::get(SM, Str, "invalid variable name"); in parseVariable()
[all …]
/external/llvm-project/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp63 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() local
67 llvm::MemoryBufferRef FromFile = SM.getBufferOrFake(SM.getMainFileID()); in LexRawTokensFromMainFile()
68 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
90 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput() local
93 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput()
94 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput()
114 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
117 if (!SM.isWrittenInMainFile(PPLoc)) { in RewriteMacrosInInput()
133 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
139 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteMacros.cpp64 SourceManager &SM = PP.getSourceManager(); in LexRawTokensFromMainFile() local
68 const llvm::MemoryBuffer *FromFile = SM.getBuffer(SM.getMainFileID()); in LexRawTokensFromMainFile()
69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); in LexRawTokensFromMainFile()
91 SourceManager &SM = PP.getSourceManager(); in RewriteMacrosInInput() local
94 Rewrite.setSourceMgr(SM, PP.getLangOpts()); in RewriteMacrosInInput()
95 RewriteBuffer &RB = Rewrite.getEditBuffer(SM.getMainFileID()); in RewriteMacrosInInput()
115 SourceLocation PPLoc = SM.getExpansionLoc(PPTok.getLocation()); in RewriteMacrosInInput()
118 if (!SM.isWrittenInMainFile(PPLoc)) { in RewriteMacrosInInput()
134 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
140 RB.InsertTextAfter(SM.getFileOffset(RawTok.getLocation()), "//"); in RewriteMacrosInInput()
[all …]
/external/llvm-project/libcxx/test/std/re/re.submatch/re.submatch.members/
Dcompare_sub_match.pass.cpp23 typedef std::sub_match<const CharT*> SM; in main() typedef
24 SM sm = SM(); in main()
25 SM sm2 = SM(); in main()
39 typedef std::sub_match<const CharT*> SM; in main() typedef
40 SM sm = SM(); in main()
41 SM sm2 = SM(); in main()

12345678910>>...67