Home
last modified time | relevance | path

Searched refs:Text (Results 1 – 25 of 271) sorted by relevance

1234567891011

/llvm-project-15.0.7/clang/test/Index/
H A Dcomplete-kvc.m57 …ethodDecl:{LeftParen (}{Text void}{RightParen )}{TypedText addMutableSetProperty:}{LeftParen (}{Te…
59 …Decl:{LeftParen (}{Text NSArray *}{RightParen )}{TypedText arrayPropertyAtIndexes:}{LeftParen (}{T…
61 …Decl:{LeftParen (}{Text NSArray *}{RightParen )}{TypedText boolPropertyAtIndexes:}{LeftParen (}{Te…
67Text void}{RightParen )}{TypedText getMyArrayProperty:}{LeftParen (}{Placeholder object-type}{Text
68Text void}{RightParen )}{TypedText getMySetProperty:}{LeftParen (}{Placeholder object-type}{Text
73 …ethodDecl:{LeftParen (}{Text void}{RightParen )}{TypedText intersectMySetProperty:}{LeftParen (}{T…
74 …MethodDecl:{LeftParen (}{Text void}{RightParen )}{TypedText intersectSetProperty:}{LeftParen (}{Te…
85 …ecl:{LeftParen (}{Text NSArray *}{RightParen )}{TypedText myArrayPropertyAtIndexes:}{LeftParen (}{
86 …ecl:{LeftParen (}{Text id}{RightParen )}{TypedText objectInMutableSetPropertyAtIndex:}{LeftParen (…
87 …Decl:{LeftParen (}{Text id}{RightParen )}{TypedText objectInMyArrayPropertyAtIndex:}{LeftParen (}{
[all …]
H A Dcomplete-method-decls.m115Text id}{RightParen )}{TypedText initWithTwoInts:}{LeftParen (}{Text inout }{Text int}{RightParen …
120 …{LeftParen (}{Text inout }{Text int}{RightParen )}{Text x}{HorizontalSpace }{TypedText second:}{L…
126 …{LeftParen (}{Text inout }{Text int}{RightParen )}{Text x}{HorizontalSpace }{TypedText second:}{L…
133Text id}{RightParen )}{TypedText initWithTwoInts:}{LeftParen (}{Text inout }{Text int}{RightParen …
160Text int}{RightParen )}{TypedText first:}{LeftParen (}{Text int}{RightParen )}{Text x}{HorizontalS…
162Text int}{RightParen )}{Text x}{HorizontalSpace }{TypedText second2:}{LeftParen (}{Text float}{Ri…
221 …hodDecl:{LeftParen (}{Text oneway }{Text void}{RightParen )}{TypedText method:}{LeftParen (}{Text
256 …ethodDecl:{Text +}{HorizontalSpace }{LeftParen (}{Text int}{RightParen )}{TypedText aClassMethod:…
260 …nceMethodDecl:{Text -}{HorizontalSpace }{LeftParen (}{Text void}{RightParen )}{TypedText setP:}{L…
272 …tanceMethodDecl:{Text -}{HorizontalSpace }{LeftParen (}{Text void}{RightParen )}{TypedText :}{Left…
[all …]
H A Dcomplete-preprocessor.m23 …-NEXT: NotImplemented:{TypedText import}{HorizontalSpace }{Text "}{Placeholder header}{Text "} (4…
24 …-NEXT: NotImplemented:{TypedText import}{HorizontalSpace }{Text <}{Placeholder header}{Text >} (4…
25 …NEXT: NotImplemented:{TypedText include}{HorizontalSpace }{Text "}{Placeholder header}{Text "} (4…
26 …NEXT: NotImplemented:{TypedText include}{HorizontalSpace }{Text <}{Placeholder header}{Text >} (4…
27 … NotImplemented:{TypedText include_next}{HorizontalSpace }{Text "}{Placeholder header}{Text "} (4…
28 … NotImplemented:{TypedText include_next}{HorizontalSpace }{Text <}{Placeholder header}{Text >} (4…
46 …-NEXT: NotImplemented:{TypedText import}{HorizontalSpace }{Text "}{Placeholder header}{Text "} (4…
47 …-NEXT: NotImplemented:{TypedText import}{HorizontalSpace }{Text <}{Placeholder header}{Text >} (4…
48 …NEXT: NotImplemented:{TypedText include}{HorizontalSpace }{Text "}{Placeholder header}{Text "} (4…
49 …NEXT: NotImplemented:{TypedText include}{HorizontalSpace }{Text <}{Placeholder header}{Text >} (4…
[all …]
H A Dcomment-misc-tags.m41 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
45 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)))
64 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
66 // CHECK-NEXT: (CXComment_Text Text=[ left alignment.] HasTrailingNewline)))
69 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace)
71 // CHECK-NEXT: (CXComment_Text Text=[ right alignment.])))
73 // CHECK-NEXT: (CXComment_Text Text=[ No other types of alignment are supported.]))
100 // CHECK-NEXT: (CXComment_Text Text=[ Contents of the paragraph.])))
103 // CHECK-NEXT: (CXComment_Text Text=[ New paragraph under the same heading.])))
107 // CHECK-NEXT: (CXComment_Text Text=[ This is the first paragraph.])))
[all …]
H A Dheaderfile-comment-to-html.m24 // CHECK-NEXT: (CXComment_Text Text=[ ] IsWhitespace))
27 // CHECK-NEXT: (CXComment_Text Text=[ Device.h ])
28 // CHECK-NEXT: (CXComment_Text Text=[<Foundation])
29 // CHECK-NEXT: (CXComment_Text Text=[/Device.h>])))
76 // CHECK-NEXT: (CXComment_Text Text=[ VTDevice.h ])
77 // CHECK-NEXT: (CXComment_Text Text=[<VTFoundation])
78 // CHECK-NEXT: (CXComment_Text Text=[/VTDevice.h>])))
94 // CHECK-NEXT: (CXComment_Text Text=[<stdio])
95 // CHECK-NEXT: (CXComment_Text Text=[.h>]))))]
110 // CHECK-NEXT: (CXComment_Text Text=[<algorithm])
[all …]
H A Dcomplete-parameterized-classes.m68 …thodDecl:{LeftParen (}{Text void}{RightParen )}{TypedText apply2:}{LeftParen (}{Text void (^)(id, …
69 …ethodDecl:{LeftParen (}{Text void}{RightParen )}{TypedText apply:}{LeftParen (}{Text void (^)(id, …
70 …nstanceMethodDecl:{LeftParen (}{Text NSObject *}{RightParen )}{TypedText getit:}{LeftParen (}{Text
71 // CHECK-CC6: ObjCInstanceMethodDecl:{LeftParen (}{Text id}{RightParen )}{TypedText prop} (40)
/llvm-project-15.0.7/clang/lib/Format/
H A DEncoding.h34 inline Encoding detectEncoding(StringRef Text) { in detectEncoding() argument
55 return Text.size(); in columnWidth()
64 StringRef Tail = Text; in columnWidthWithTabs()
97 inline unsigned getEscapeSequenceLength(StringRef Text) { in getEscapeSequenceLength() argument
98 assert(Text[0] == '\\'); in getEscapeSequenceLength()
99 if (Text.size() < 2) in getEscapeSequenceLength()
102 switch (Text[1]) { in getEscapeSequenceLength()
109 while (I < Text.size() && isHexDigit(Text[I])) in getEscapeSequenceLength()
114 if (isOctDigit(Text[1])) { in getEscapeSequenceLength()
116 while (I < Text.size() && I < 4 && isOctDigit(Text[I])) in getEscapeSequenceLength()
[all …]
H A DBreakableToken.cpp98 Text[SpaceOffset + 1] == '{') { in getCommentSplit()
131 (Text[SpaceOffset + 1] == '{' || Text[SpaceOffset + 1] == '@')) { in getCommentSplit()
149 SpaceOffset = Text.find_first_of( in getCommentSplit()
174 if (Text.empty()) in getStringSplit()
185 if (Text[0] == '\\') { in getStringSplit()
197 if (IsBlank(Text[0])) in getStringSplit()
199 if (Text[0] == '/') in getStringSplit()
205 Text = Text.substr(Advance); in getStringSplit()
415 const StringRef &Text = Content[i]; in BreakableBlockComment() local
418 if (Text.empty()) in BreakableBlockComment()
[all …]
/llvm-project-15.0.7/clang/lib/Tooling/Transformer/
H A DSourceCodeBuilders.cpp78 if (Text.empty()) in buildParens()
82 return Text.str(); in buildParens()
90 StringRef Text = in buildDereference() local
92 if (Text.empty()) in buildDereference()
94 return Text.str(); in buildDereference()
98 if (Text.empty()) in buildDereference()
113 StringRef Text = in buildAddressOf() local
115 if (Text.empty()) in buildAddressOf()
121 if (Text.empty()) in buildAddressOf()
147 if (Text.empty()) in buildAccessForValue()
[all …]
/llvm-project-15.0.7/clang-tools-extra/unittests/clang-tidy/
H A DModernizeModuleTest.cpp22 static std::vector<Token> tokenify(const char *Text) { in tokenify() argument
27 Lexer Lex(SourceLocation{}, LangOpts, Text, Text, Text + std::strlen(Text)); in tokenify()
39 static bool matchText(const char *Text, bool AllowComma) { in matchText() argument
40 std::vector<Token> Tokens{tokenify(Text)}; in matchText()
46 static modernize::LiteralSize sizeText(const char *Text) { in sizeText() argument
47 std::vector<Token> Tokens{tokenify(Text)}; in sizeText()
78 const char *Text; member
83 << ", Text: '" << Value.Text << '\''; in operator <<()
89 const char *Text; member
252 EXPECT_TRUE(matchText(Param.Text, Param.AllowComma) == Param.Matched); in TEST_P()
[all …]
/llvm-project-15.0.7/llvm/lib/Testing/Support/
H A DAnnotations.cpp26 Annotations::Annotations(llvm::StringRef Text) { in Annotations() argument
28 require(Assertion, Msg, Text); in Annotations()
33 Code.reserve(Text.size()); in Annotations()
34 while (!Text.empty()) { in Annotations()
35 if (Text.consume_front("^")) { in Annotations()
40 if (Text.consume_front("[[")) { in Annotations()
46 if (Text.consume_front("]]")) { in Annotations()
55 if (Text.consume_front("$")) { in Annotations()
58 Text = Text.drop_front(Name->size()); in Annotations()
61 Code.push_back(Text.front()); in Annotations()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DCodeCompletionStrings.cpp28 for (const auto Character : Text) { in appendEscapeSnippet()
44 *Out += C.Text; in appendOptionalChunk()
179 *Snippet += Chunk.Text; in getSignature()
184 *Signature += Chunk.Text; in getSignature()
185 *Snippet += Chunk.Text; in getSignature()
193 *Signature += Chunk.Text; in getSignature()
209 *Signature += Chunk.Text; in getSignature()
234 *Signature += Chunk.Text; in getSignature()
235 *Snippet += Chunk.Text; in getSignature()
238 *Snippet += Chunk.Text; in getSignature()
[all …]
/llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/
H A DParser.cpp59 StringRef Text; member
123 Result.Text = ""; in getNextToken()
243 std::string Text = Result->Text.str(); in consumeNumberLiteral() local
425 << NameToken.Text; in parseIdentifierPrefixImpl()
437 << OpenToken.Text; in parseIdentifierPrefixImpl()
493 << CommaToken.Text; in parseMatcherBuilder()
513 << NameToken.Text; in parseMatcherBuilder()
517 ArgValue.Text = NodeMatcherToken.Text; in parseMatcherBuilder()
558 << NameToken.Text; in parseMatcherBuilder()
635 << NameToken.Text; in parseMatcherExpressionImpl()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DCodeCompleteConsumer.cpp186 this->Text = Text; in Chunk()
193 this->Text = "("; in Chunk()
197 this->Text = ")"; in Chunk()
201 this->Text = "["; in Chunk()
205 this->Text = "]"; in Chunk()
209 this->Text = "{"; in Chunk()
213 this->Text = "}"; in Chunk()
334 OS << C.Text; in getAsString()
344 return C.Text; in getTypedText()
353 Res += C.Text; in getAllTypedText()
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp80 advanceTo(Line, Element->Text.end()); in nextNode()
125 Element.Text = Line.slice(BeginPos, EndPos); in parseElement()
145 static MarkupNode textNode(StringRef Text) { in textNode() argument
147 Node.Text = Text; in textNode()
154 void MarkupParser::parseTextOutsideMarkup(StringRef Text) { in parseTextOutsideMarkup() argument
155 if (Text.empty()) in parseTextOutsideMarkup()
158 while (SGRSyntax.match(Text, &Matches)) { in parseTextOutsideMarkup()
160 if (Matches.begin()->begin() != Text.begin()) in parseTextOutsideMarkup()
164 advanceTo(Text, Matches.begin()->end()); in parseTextOutsideMarkup()
166 if (!Text.empty()) in parseTextOutsideMarkup()
[all …]
/llvm-project-15.0.7/clang/lib/ExtractAPI/
H A DDeclarationFragments.cpp25 if (Last.Kind == FragmentKind::Text) { in appendSpace()
32 append(" ", FragmentKind::Text); in appendSpace()
62 case DeclarationFragments::FragmentKind::Text: in getFragmentKindString()
83 .Case("text", DeclarationFragments::FragmentKind::Text) in parseFragmentKindFromString()
169 .append(" *", DeclarationFragments::FragmentKind::Text); in getFragmentsForType()
178 .append(" &", DeclarationFragments::FragmentKind::Text); in getFragmentsForType()
196 After.append("[", DeclarationFragments::FragmentKind::Text); in getFragmentsForType()
319 .append("(", DeclarationFragments::FragmentKind::Text); in getFragmentsForType()
540 .append(" (", DeclarationFragments::FragmentKind::Text) in getFragmentsForObjCCategory()
543 .append(")", DeclarationFragments::FragmentKind::Text); in getFragmentsForObjCCategory()
[all …]
/llvm-project-15.0.7/clang/utils/TableGen/
H A DClangDiagnosticsEmitter.cpp1005 if (Text.empty() || !isdigit(Text[0])) in parseModifier()
1011 Text = Text.drop_front(); in parseModifier()
1012 } while (!Text.empty() && isdigit(Text[0])); in parseModifier()
1029 (Text[End + 1] == '%' || Text[End + 1] == '|' || Text[End + 1] == '$')); in parseDiagText()
1033 Text = Text.slice(End, StringRef::npos); in parseDiagText()
1038 if (Text[0] == '|' || Text[0] == '}' || Text[0] == '$') in parseDiagText()
1042 Text = Text.drop_front(); in parseDiagText()
1073 Text = Text.drop_front(); // '{' or '|' in parseDiagText()
1111 Text = Text.drop_front(NameSize); in parseDiagText()
1118 if (Text.empty() || Text[0] != ',') in parseDiagText()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DUnicode.cpp418 int columnWidthUTF8(StringRef Text) { in columnWidthUTF8() argument
421 for (size_t i = 0, e = Text.size(); i < e; i += Length) { in columnWidthUTF8()
422 Length = getNumBytesForUTF8(Text[i]); in columnWidthUTF8()
426 if (!isprintableascii(Text[i])) in columnWidthUTF8()
432 if (Length <= 0 || i + Length > Text.size()) in columnWidthUTF8()
435 const UTF8 *Start = reinterpret_cast<const UTF8 *>(Text.data() + i); in columnWidthUTF8()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dsubst2.td8 string Text = t;
11 class Text<string text> :
14 def Ok1 : Text<"No subst">;
15 def Ok2 : Text<"No NORECURSE">;
16 def Trouble : Text<"RECURSE NORECURSE">;
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/Symbolize/
H A DMarkup.h38 StringRef Text; member
48 return Text == Other.Text && Tag == Other.Tag && Fields == Other.Fields;
88 return SGRSyntax.match(Node.Text); in isSGR()
93 void parseTextOutsideMarkup(StringRef Text);
/llvm-project-15.0.7/llvm/unittests/Support/
H A DDJBTest.cpp60 StringLiteral Text; in TEST() member
75 SCOPED_TRACE("Text: '" + T.Text + "'"); in TEST()
76 EXPECT_EQ(T.Hash, djbHash(T.Text)); in TEST()
77 EXPECT_EQ(T.Hash, caseFoldingDjbHash(T.Text)); in TEST()
78 EXPECT_EQ(T.Hash, caseFoldingDjbHash(T.Text.upper())); in TEST()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DCommentLexer.h103 void setText(StringRef Text) { in setText() argument
105 TextPtr = Text.data(); in setText()
106 IntVal = Text.size(); in setText()
145 void setVerbatimBlockText(StringRef Text) { in setVerbatimBlockText() argument
147 TextPtr = Text.data(); in setVerbatimBlockText()
148 IntVal = Text.size(); in setVerbatimBlockText()
166 void setVerbatimLineText(StringRef Text) { in setVerbatimLineText() argument
168 TextPtr = Text.data(); in setVerbatimLineText()
169 IntVal = Text.size(); in setVerbatimLineText()
303 StringRef Text(BufferPtr, TokEnd - BufferPtr); in formTextToken()
[all …]
H A DComment.h199 StringRef Text; member
267 StringRef Text; variable
274 Text(Text) { in TextComment()
748 return Args[0].Text; in getParamNameAsWritten()
818 return Args[0].Text; in getParamNameAsWritten()
847 StringRef Text; variable
855 Text(Text) in VerbatimBlockLineComment()
867 return Text; in getText()
928 StringRef Text;
941 Text(Text), in VerbatimLineComment()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DRawStringLiteralCheck.cpp36 bool isRawStringLiteral(StringRef Text) { in isRawStringLiteral() argument
38 const size_t QuotePos = Text.find('"'); in isRawStringLiteral()
40 return (QuotePos > 0) && (Text[QuotePos - 1] == 'R'); in isRawStringLiteral()
57 StringRef Text = Lexer::getSourceText(CharRange, *Result.SourceManager, in containsEscapedCharacters() local
59 if (Text.empty() || isRawStringLiteral(Text)) in containsEscapedCharacters()
62 return containsEscapes(Text, R"('\"?x01)"); in containsEscapedCharacters()
H A DMacroToEnumCheck.cpp29 std::string Buffer{Text}; in hasOnlyComments()
53 for (char C : Text) { in hasOnlyComments()
267 Lexer Lex(CharRange.getBegin(), LangOpts, Text.data(), Text.data(), in checkCondition()
268 Text.data() + Text.size()); in checkCondition()
425 while (*Text && std::isspace(*Text)) in PragmaDirective()
426 ++Text; in PragmaDirective()
428 if (textEquals("pragma", Text)) in PragmaDirective()
431 Text += len("pragma"); in PragmaDirective()
432 while (*Text && std::isspace(*Text)) in PragmaDirective()
433 ++Text; in PragmaDirective()
[all …]

1234567891011