|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/Basic/Diagnostic.h 53 enum TokenKind : unsigned short;
References
include/llvm/ADT/ArrayRef.h 43 using iterator = const T *;
44 using const_iterator = const T *;
50 const T *Data = nullptr;
66 /*implicit*/ ArrayRef(const T &OneElt)
70 /*implicit*/ ArrayRef(const T *data, size_t length)
74 ArrayRef(const T *begin, const T *end)
74 ArrayRef(const T *begin, const T *end)
81 /*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T, U> &Vec)
87 /*implicit*/ ArrayRef(const std::vector<T, A> &Vec)
92 /*implicit*/ constexpr ArrayRef(const std::array<T, N> &Arr)
97 /*implicit*/ constexpr ArrayRef(const T (&Arr)[N]) : Data(Arr), Length(N) {}
100 /*implicit*/ ArrayRef(const std::initializer_list<T> &Vec)
145 const T *data() const { return Data; }
151 const T &front() const {
157 const T &back() const {
163 template <typename Allocator> ArrayRef<T> copy(Allocator &A) {
178 ArrayRef<T> slice(size_t N, size_t M) const {
184 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); }
187 ArrayRef<T> drop_front(size_t N = 1) const {
193 ArrayRef<T> drop_back(size_t N = 1) const {
200 template <class PredicateT> ArrayRef<T> drop_while(PredicateT Pred) const {
206 template <class PredicateT> ArrayRef<T> drop_until(PredicateT Pred) const {
211 ArrayRef<T> take_front(size_t N = 1) const {
218 ArrayRef<T> take_back(size_t N = 1) const {
226 template <class PredicateT> ArrayRef<T> take_while(PredicateT Pred) const {
232 template <class PredicateT> ArrayRef<T> take_until(PredicateT Pred) const {
239 const T &operator[](size_t Index) const {
249 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
257 typename std::enable_if<std::is_same<U, T>::value, ArrayRef<T>>::type &
263 std::vector<T> vec() const {
270 operator std::vector<T>() const {
450 ArrayRef<T> makeArrayRef(const T &OneElt) {
450 ArrayRef<T> makeArrayRef(const T &OneElt) {
include/llvm/ADT/DenseMap.h 40 struct DenseMapPair : public std::pair<KeyT, ValueT> {
45 ValueT &getSecond() { return std::pair<KeyT, ValueT>::second; }
46 const ValueT &getSecond() const { return std::pair<KeyT, ValueT>::second; }
66 using mapped_type = ValueT;
69 using iterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT>;
71 DenseMapIterator<KeyT, ValueT, KeyInfoT, BucketT, true>;
185 ValueT lookup(const_arg_type_t<KeyT> Val) const {
195 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
202 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) {
249 std::pair<iterator, bool> insert_as(std::pair<KeyT, ValueT> &&KV,
299 ValueT &operator[](const KeyT &Key) {
311 ValueT &operator[](KeyT &&Key) {
338 P->getSecond().~ValueT();
380 ::new (&DestBucket->getSecond()) ValueT(std::move(B->getSecond()));
384 B->getSecond().~ValueT();
392 const DenseMapBase<OtherBaseT, KeyT, ValueT, KeyInfoT, BucketT> &other) {
520 ::new (&TheBucket->getSecond()) ValueT(std::forward<ValueArgs>(Values)...);
526 ValueT &&Value, LookupKeyT &Lookup) {
852 SmallDenseMap<KeyT, ValueT, InlineBuckets, KeyInfoT, BucketT>, KeyT,
853 ValueT, KeyInfoT, BucketT> {
1031 ::new (&TmpEnd->getSecond()) ValueT(std::move(P->getSecond()));
1033 P->getSecond().~ValueT();
1163 using ConstIterator = DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, true>;
1199 const DenseMapIterator<KeyT, ValueT, KeyInfoT, Bucket, IsConstSrc> &I)
include/llvm/ADT/SmallVector.h 75 AlignedCharArrayUnion<T> FirstEl;
114 using value_type = T;
115 using iterator = T *;
116 using const_iterator = const T *;
121 using reference = T &;
122 using const_reference = const T &;
123 using pointer = T *;
124 using const_pointer = const T *;
259 class SmallVectorTemplateBase<T, true> : public SmallVectorTemplateCommon<T> {
264 static void destroy_range(T *, T *) {}
264 static void destroy_range(T *, T *) {}
299 void grow(size_t MinSize = 0) { this->grow_pod(MinSize, sizeof(T)); }
302 void push_back(const T &Elt) {
305 memcpy(reinterpret_cast<void *>(this->end()), &Elt, sizeof(T));
315 class SmallVectorImpl : public SmallVectorTemplateBase<T> {
316 using SuperClass = SmallVectorTemplateBase<T>;
357 void resize(size_type N, const T &NV) {
374 LLVM_NODISCARD T pop_back_val() {
397 void append(size_type NumInputs, const T &Elt) {
405 void append(std::initializer_list<T> IL) {
412 void assign(size_type NumElts, const T &Elt) {
429 void assign(std::initializer_list<T> IL) {
467 iterator insert(iterator I, T &&Elt) {
497 iterator insert(iterator I, const T &Elt) {
526 iterator insert(iterator I, size_type NumToInsert, const T &Elt) {
637 void insert(iterator I, std::initializer_list<T> IL) {
820 AlignedCharArrayUnion<T> InlineElts[N];
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
837 class SmallVector : public SmallVectorImpl<T>, SmallVectorStorage<T, N> {
846 explicit SmallVector(size_t Size, const T &Value = T())
865 SmallVector(std::initializer_list<T> IL) : SmallVectorImpl<T>(N) {
884 SmallVector(SmallVectorImpl<T> &&RHS) : SmallVectorImpl<T>(N) {
include/llvm/ADT/StringMap.h 129 ValueTy second;
134 StringMapEntryStorage(size_t strLen, InitTy &&... InitVals)
135 : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
138 const ValueTy &getValue() const { return second; }
139 ValueTy &getValue() { return second; }
141 void setValue(const ValueTy &V) { second = V; }
158 class StringMapEntry final : public StringMapEntryStorage<ValueTy> {
160 using StringMapEntryStorage<ValueTy>::StringMapEntryStorage;
179 InitTy &&... InitVals) {
192 new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
204 static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
246 using MapEntryTy = StringMapEntry<ValueTy>;
260 StringMap(std::initializer_list<std::pair<StringRef, ValueTy>> List)
330 using mapped_type = ValueTy;
331 using value_type = StringMapEntry<ValueTy>;
334 using const_iterator = StringMapConstIterator<ValueTy>;
335 using iterator = StringMapIterator<ValueTy>;
350 iterator_range<StringMapKeyIterator<ValueTy>> keys() const {
369 ValueTy lookup(StringRef Key) const {
378 ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; }
413 std::pair<iterator, bool> insert(std::pair<StringRef, ValueTy> KV) {
432 std::pair<iterator, bool> try_emplace(StringRef Key, ArgsTy &&... Args) {
441 Bucket = MapEntryTy::Create(Key, Allocator, std::forward<ArgsTy>(Args)...);
531 : public StringMapIterBase<StringMapConstIterator<ValueTy>,
532 const StringMapEntry<ValueTy>> {
533 using base = StringMapIterBase<StringMapConstIterator<ValueTy>,
534 const StringMapEntry<ValueTy>>;
542 const StringMapEntry<ValueTy> &operator*() const {
548 class StringMapIterator : public StringMapIterBase<StringMapIterator<ValueTy>,
549 StringMapEntry<ValueTy>> {
551 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
551 StringMapIterBase<StringMapIterator<ValueTy>, StringMapEntry<ValueTy>>;
559 StringMapEntry<ValueTy> &operator*() const {
563 operator StringMapConstIterator<ValueTy>() const {
include/llvm/Support/AlignOf.h 30 T t;
39 template <typename T> union SizerImpl<T> { char arr[sizeof(T)]; };
50 llvm::detail::SizerImpl<T, Ts...>)];
include/llvm/Support/type_traits.h 91 T t;
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
122 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<const F &>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
130 static auto get(F*) -> decltype(std::declval<F &>() = std::declval<F &&>(), std::true_type{});
145 std::is_copy_constructible<detail::trivial_helper<T>>::value;
147 !std::is_copy_constructible<T>::value;
151 std::is_move_constructible<detail::trivial_helper<T>>::value;
153 !std::is_move_constructible<T>::value;
157 is_copy_assignable<detail::trivial_helper<T>>::value;
159 !is_copy_assignable<T>::value;
163 is_move_assignable<detail::trivial_helper<T>>::value;
165 !is_move_assignable<T>::value;
169 std::is_destructible<detail::trivial_helper<T>>::value;
tools/clang/include/clang/Basic/Diagnostic.h 1225 tok::TokenKind I) {
tools/clang/include/clang/Basic/IdentifierTable.h 185 tok::TokenKind getTokenID() const { return (tok::TokenKind)TokenID; }
201 void revertIdentifierToTokenID(tok::TokenKind TK) {
542 IdentifierInfo &get(StringRef Name, tok::TokenKind TokenCode) {
tools/clang/include/clang/Basic/OperatorPrecedence.h 47 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
tools/clang/include/clang/Basic/TokenKinds.h 55 const char *getTokenName(TokenKind Kind) LLVM_READNONE;
64 const char *getPunctuatorSpelling(TokenKind Kind) LLVM_READNONE;
68 const char *getKeywordSpelling(TokenKind Kind) LLVM_READNONE;
71 inline bool isAnyIdentifier(TokenKind K) {
77 inline bool isStringLiteral(TokenKind K) {
85 inline bool isLiteral(TokenKind K) {
93 bool isAnnotation(TokenKind K);
96 bool isPragmaAnnotation(TokenKind K);
tools/clang/include/clang/Lex/Lexer.h 529 tok::TokenKind TKind,
583 tok::TokenKind Kind) {
703 tok::TokenKind Kind);
705 tok::TokenKind Kind);
708 tok::TokenKind Kind);
tools/clang/include/clang/Lex/LiteralSupport.h 177 tok::TokenKind Kind;
185 tok::TokenKind kind);
214 tok::TokenKind Kind;
tools/clang/include/clang/Lex/Preprocessor.h 87 tok::TokenKind Kind;
91 TokenValue(tok::TokenKind Kind) : Kind(Kind), II(nullptr) {
1532 void EnterAnnotationToken(SourceRange Range, tok::TokenKind Kind,
tools/clang/include/clang/Lex/Token.h 65 tok::TokenKind Kind;
92 tok::TokenKind getKind() const { return Kind; }
93 void setKind(tok::TokenKind K) { Kind = K; }
97 bool is(tok::TokenKind K) const { return Kind == K; }
98 bool isNot(tok::TokenKind K) const { return Kind != K; }
99 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const {
99 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2) const {
103 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const {
103 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const {
103 bool isOneOf(tok::TokenKind K1, tok::TokenKind K2, Ts... Ks) const {
tools/clang/include/clang/Parse/Parser.h 164 llvm::SmallDenseMap<IdentifierInfo *, tok::TokenKind> RevertibleTypeTraits;
456 bool TryConsumeToken(tok::TokenKind Expected) {
466 bool TryConsumeToken(tok::TokenKind Expected, SourceLocation &Loc) {
642 tok::TokenKind Kind = Tok.getKind();
651 bool isFoldOperator(tok::TokenKind Kind) const;
970 bool ExpectAndConsume(tok::TokenKind ExpectedTok,
1104 bool SkipUntil(tok::TokenKind T,
1108 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2,
1108 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2,
1110 tok::TokenKind TokArray[] = {T1, T2};
1113 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2, tok::TokenKind T3,
1113 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2, tok::TokenKind T3,
1113 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2, tok::TokenKind T3,
1115 tok::TokenKind TokArray[] = {T1, T2, T3};
1118 bool SkipUntil(ArrayRef<tok::TokenKind> Toks,
1451 bool ConsumeAndStoreUntil(tok::TokenKind T1,
1457 bool ConsumeAndStoreUntil(tok::TokenKind T1, tok::TokenKind T2,
1457 bool ConsumeAndStoreUntil(tok::TokenKind T1, tok::TokenKind T2,
1626 Decl *ParseObjCMethodDecl(SourceLocation mLoc, tok::TokenKind mType,
1680 tok::TokenKind K = Tok.getKind();
1812 tok::TokenKind OpKind,
2327 TPResult isExpressionOrTypeSpecifierSimple(tok::TokenKind Kind);
2792 void ParseClassSpecifier(tok::TokenKind TagTokKind, SourceLocation TagLoc,
3066 tok::TokenKind Kind = Tok.getKind();
tools/clang/include/clang/Parse/RAIIObjectsForParser.h 368 tok::TokenKind Kind, Close, FinalToken;
385 BalancedDelimiterTracker(Parser& p, tok::TokenKind k,
386 tok::TokenKind FinalToken = tok::semi)
426 tok::TokenKind SkipToTok = tok::unknown);
tools/clang/include/clang/Sema/Sema.h 302 void enterUnary(Sema &S, SourceLocation Tok, tok::TokenKind OpKind,
304 void enterBinary(Sema &S, SourceLocation Tok, Expr *LHS, tok::TokenKind Op);
1385 const SemaDiagnosticBuilder &Diag, const T &Value) {
1850 bool isSimpleTypeSpecifier(tok::TokenKind Kind) const;
4613 ExprResult ActOnPredefinedExpr(SourceLocation Loc, tok::TokenKind Kind);
4650 tok::TokenKind Op, Expr *Input);
4680 tok::TokenKind Kind, Expr *Input);
4741 tok::TokenKind OpKind,
4841 static BinaryOperatorKind ConvertTokenKindToBinaryOpcode(tok::TokenKind Kind);
4845 tok::TokenKind Kind, Expr *LHSExpr, Expr *RHSExpr);
5453 tok::TokenKind Kind,
5462 tok::TokenKind Kind,
5507 tok::TokenKind Operator,
5579 ExprResult ActOnCXXBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind);
5583 ExprResult ActOnObjCBoolLiteral(SourceLocation OpLoc, tok::TokenKind Kind);
5731 tok::TokenKind OpKind,
5737 tok::TokenKind OpKind,
5746 tok::TokenKind OpKind,
5755 tok::TokenKind OpKind,
8741 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
tools/clang/include/clang/Tooling/Syntax/Tokens.h 102 Token(SourceLocation Location, unsigned Length, tok::TokenKind Kind);
106 tok::TokenKind kind() const { return Kind; }
140 tok::TokenKind Kind;
tools/clang/include/clang/Tooling/Transformer/SourceCode.h 25 CharSourceRange maybeExtendRange(CharSourceRange Range, tok::TokenKind Next,
32 CharSourceRange getExtendedRange(const T &Node, tok::TokenKind Next,
71 StringRef getExtendedText(const T &Node, tok::TokenKind Next,
tools/clang/lib/Basic/Diagnostic.cpp 749 static const char *getTokenDescForDiagnostic(tok::TokenKind Kind) {
949 tok::TokenKind Kind = static_cast<tok::TokenKind>(getRawArg(ArgNo));
tools/clang/lib/Basic/IdentifierTable.cpp 156 tok::TokenKind TokenCode, unsigned Flags,
181 tok::TokenKind TokenCode,
229 tok::TokenKind K) {
tools/clang/lib/Basic/OperatorPrecedence.cpp 17 prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
tools/clang/lib/Basic/TokenKinds.cpp 24 const char *tok::getTokenName(TokenKind Kind) {
31 const char *tok::getPunctuatorSpelling(TokenKind Kind) {
40 const char *tok::getKeywordSpelling(TokenKind Kind) {
49 bool tok::isAnnotation(TokenKind Kind) {
59 bool tok::isPragmaAnnotation(TokenKind Kind) {
tools/clang/lib/Format/Format.cpp 1583 void cleanupPair(FormatToken *Start, LeftKind LK, RightKind RK,
1583 void cleanupPair(FormatToken *Start, LeftKind LK, RightKind RK,
1610 void cleanupLeft(FormatToken *Start, LeftKind LK, RightKind RK) {
1610 void cleanupLeft(FormatToken *Start, LeftKind LK, RightKind RK) {
1615 void cleanupRight(FormatToken *Start, LeftKind LK, RightKind RK) {
1615 void cleanupRight(FormatToken *Start, LeftKind LK, RightKind RK) {
tools/clang/lib/Format/FormatToken.h 205 tok::TokenKind ParentBracket = tok::unknown;
312 bool is(tok::TokenKind Kind) const { return Tok.is(Kind); }
321 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
321 template <typename A, typename B> bool isOneOf(A K1, B K2) const {
325 bool isOneOf(A K1, B K2, Ts... Ks) const {
325 bool isOneOf(A K1, B K2, Ts... Ks) const {
325 bool isOneOf(A K1, B K2, Ts... Ks) const {
328 template <typename T> bool isNot(T Kind) const { return !is(Kind); }
346 bool startsSequence(A K1, Ts... Tokens) const {
346 bool startsSequence(A K1, Ts... Tokens) const {
357 bool endsSequence(A K1, Ts... Tokens) const {
357 bool endsSequence(A K1, Ts... Tokens) const {
556 bool startsSequenceInternal(A K1, Ts... Tokens) const {
556 bool startsSequenceInternal(A K1, Ts... Tokens) const {
562 template <typename A> bool startsSequenceInternal(A K1) const {
568 template <typename A, typename... Ts> bool endsSequenceInternal(A K1) const {
575 bool endsSequenceInternal(A K1, Ts... Tokens) const {
575 bool endsSequenceInternal(A K1, Ts... Tokens) const {
tools/clang/lib/Format/FormatTokenLexer.cpp 85 static const tok::TokenKind JSRightArrow[] = {tok::equal, tok::greater};
94 static const tok::TokenKind JSIdentity[] = {tok::equalequal, tok::equal};
95 static const tok::TokenKind JSNotIdentity[] = {tok::exclaimequal,
97 static const tok::TokenKind JSShiftEqual[] = {tok::greater, tok::greater,
99 static const tok::TokenKind JSRightArrow[] = {tok::equal, tok::greater};
100 static const tok::TokenKind JSExponentiation[] = {tok::star, tok::star};
101 static const tok::TokenKind JSExponentiationEqual[] = {tok::star,
124 static const tok::TokenKind JavaRightLogicalShiftAssign[] = {
300 bool FormatTokenLexer::tryMergeTokens(ArrayRef<tok::TokenKind> Kinds,
tools/clang/lib/Format/FormatTokenLexer.h 58 bool tryMergeTokens(ArrayRef<tok::TokenKind> Kinds, TokenType NewType);
tools/clang/lib/Format/TokenAnnotator.cpp 1254 Context(tok::TokenKind ContextKind, unsigned BindingStrength,
1259 tok::TokenKind ContextKind;
1283 ScopedContextCreator(AnnotatingParser &P, tok::TokenKind ContextKind,
tools/clang/lib/Format/TokenAnnotator.h 86 template <typename... Ts> bool startsWith(Ts... Tokens) const {
94 template <typename... Ts> bool endsWith(Ts... Tokens) const {
tools/clang/lib/Format/UnwrappedLineParser.cpp 329 tok::TokenKind kind = FormatTok->Tok.getKind();
1581 tok::TokenKind ClosingBraceKind) {
tools/clang/lib/Format/UnwrappedLineParser.h 102 tok::TokenKind ClosingBraceKind = tok::r_brace);
tools/clang/lib/Lex/Lexer.cpp 1271 SourceLocation Loc, tok::TokenKind TKind, const SourceManager &SM,
1905 tok::TokenKind Kind) {
1967 tok::TokenKind Kind) {
2119 tok::TokenKind Kind) {
3204 tok::TokenKind Kind;
tools/clang/lib/Lex/LiteralSupport.cpp 38 static unsigned getCharWidth(tok::TokenKind kind, const TargetInfo &Target) {
1218 tok::TokenKind kind) {
tools/clang/lib/Lex/PPDirectives.cpp 1547 tok::TokenKind Kind,
tools/clang/lib/Lex/PPExpressions.cpp 498 static unsigned getPrecedence(tok::TokenKind Kind) {
560 tok::TokenKind Operator = PeekTok.getKind();
tools/clang/lib/Lex/TokenConcatenation.cpp 177 tok::TokenKind PrevKind = PrevTok.getKind();
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp 139 tok::TokenKind kind = Tok.getKind();
194 tok::TokenKind kind = Tok.getKind();
660 bool Parser::ConsumeAndStoreUntil(tok::TokenKind T1, tok::TokenKind T2,
660 bool Parser::ConsumeAndStoreUntil(tok::TokenKind T1, tok::TokenKind T2,
863 tok::TokenKind kind = Tok.getKind();
902 tok::TokenKind CloseKind = IsLParen ? tok::r_paren : tok::r_brace;
974 tok::TokenKind EndKind)
1002 tok::TokenKind EndKind;
tools/clang/lib/Parse/ParseDecl.cpp 2382 SmallVector<tok::TokenKind, 2> StopTokens;
2632 tok::TokenKind TagKind = tok::unknown;
3848 tok::TokenKind Kind = Tok.getKind();
5454 static bool isPtrOperatorToken(tok::TokenKind Kind, const LangOptions &Lang,
5569 tok::TokenKind Kind = Tok.getKind();
tools/clang/lib/Parse/ParseDeclCXX.cpp 1391 void Parser::ParseClassSpecifier(tok::TokenKind TagTokKind,
tools/clang/lib/Parse/ParseExpr.cpp 245 tok::TokenKind K = Tok.getKind();
260 bool Parser::isFoldOperator(tok::TokenKind Kind) const {
768 tok::TokenKind SavedKind = Tok.getKind();
948 llvm::SmallDenseMap<IdentifierInfo *, tok::TokenKind>::iterator Known
1629 tok::TokenKind OpKind = Tok.getKind();
1743 tok::TokenKind OpKind = Tok.getKind();
1779 tok::TokenKind CorrectedOpKind =
2104 tok::TokenKind T = Tok.getKind();
2449 tok::TokenKind tokenKind = Tok.getKind();
2839 tok::TokenKind Kind = tok::unknown;
3110 tok::TokenKind Kind = Tok.getKind();
tools/clang/lib/Parse/ParseExprCXX.cpp 27 static int SelectDigraphErrorMessage(tok::TokenKind Kind) {
51 Token &ColonToken, tok::TokenKind Kind, bool AtDigraph) {
184 tok::TokenKind NextKind = NextToken().getKind();
1489 tok::TokenKind Kind = Tok.getKind();
1680 tok::TokenKind OpKind,
1754 tok::TokenKind Kind = Tok.getKind();
3231 static TypeTrait TypeTraitFromTokKind(tok::TokenKind kind) {
3245 static ArrayTypeTrait ArrayTypeTraitFromTokKind(tok::TokenKind kind) {
3253 static ExpressionTrait ExpressionTraitFromTokKind(tok::TokenKind kind) {
3261 static unsigned TypeTraitArity(tok::TokenKind kind) {
3281 tok::TokenKind Kind = Tok.getKind();
tools/clang/lib/Parse/ParseObjc.cpp 986 tok::TokenKind methodType = Tok.getKind();
1328 tok::TokenKind mType,
2775 tok::TokenKind Kind = Tok.getKind();
tools/clang/lib/Parse/ParseStmt.cpp 162 tok::TokenKind Kind = Tok.getKind();
tools/clang/lib/Parse/ParseStmtAsm.cpp 206 const tok::TokenKind EndOfStream = tok::semi;
tools/clang/lib/Parse/ParseTemplate.cpp 871 tok::TokenKind RemainingToken;
1548 tok::TokenKind kind = Tok.getKind();
tools/clang/lib/Parse/ParseTentative.cpp 1046 Parser::isExpressionOrTypeSpecifierSimple(tok::TokenKind Kind) {
tools/clang/lib/Parse/Parser.cpp 101 static bool IsCommonTypo(tok::TokenKind ExpectedTok, const Token &Tok) {
109 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID,
245 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) {
880 tok::TokenKind NextKind = NextToken().getKind();
2012 tok::TokenKind Kind = Tok.getKind();
2458 tok::TokenKind SkipToTok) {
tools/clang/lib/Sema/SemaCast.cpp 235 Sema::ActOnCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind,
258 Sema::BuildCXXNamedCast(SourceLocation OpLoc, tok::TokenKind Kind,
tools/clang/lib/Sema/SemaCodeComplete.cpp 410 tok::TokenKind Op) {
489 tok::TokenKind Op) {
520 tok::TokenKind Op) {
539 tok::TokenKind OpKind,
tools/clang/lib/Sema/SemaDecl.cpp 123 bool Sema::isSimpleTypeSpecifier(tok::TokenKind Kind) const {
tools/clang/lib/Sema/SemaDeclObjC.cpp 4541 tok::TokenKind MethodType, ObjCDeclSpec &ReturnQT, ParsedType ReturnType,
tools/clang/lib/Sema/SemaExpr.cpp12581 BinaryOperatorKind Sema::ConvertTokenKindToBinaryOpcode(tok::TokenKind Kind) {
12623 tok::TokenKind Kind) {
tools/clang/lib/Sema/SemaExprCXX.cpp 6846 tok::TokenKind& OpKind, SourceLocation OpLoc) {
tools/clang/lib/Sema/SemaExprMember.cpp 1687 tok::TokenKind OpKind,
tools/clang/lib/Sema/SemaTemplateVariadic.cpp 1157 tok::TokenKind Operator,
tools/clang/lib/Tooling/Syntax/BuildTree.cpp 56 void markChildToken(SourceLocation Loc, tok::TokenKind Kind, NodeRole R);
255 tok::TokenKind Kind, NodeRole Role) {
tools/clang/lib/Tooling/Syntax/Tokens.cpp 39 tok::TokenKind Kind)
244 if (Token->kind() == tok::TokenKind::identifier)
tools/clang/lib/Tooling/Transformer/RangeSelector.cpp 83 tok::TokenKind TK) {
104 return findPreviousTokenKind(EndLoc, SM, LangOpts, tok::TokenKind::l_paren);
135 ? tooling::getExtendedRange(*Node, tok::TokenKind::semi,
146 return tooling::getExtendedRange(*Node, tok::TokenKind::semi,
299 tok::TokenKind::semi, *Result.Context);
tools/clang/lib/Tooling/Transformer/SourceCode.cpp 24 tok::TokenKind Next,
tools/clang/tools/clang-rename/ClangRename.cpp 143 auto NewNameTokKind = Table.get(NewName).getTokenID();
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 668 while (!Lex->LexFromRawLexer(Tok) && Tok.isNot(tok::TokenKind::l_brace)) {
670 return Tok.isNot(tok::TokenKind::l_brace)
tools/clang/tools/extra/clang-tidy/modernize/RedundantVoidArgCheck.cpp 147 if (ProtoToken.is(tok::TokenKind::l_paren)) {
152 if (ProtoToken.is(tok::TokenKind::raw_identifier) &&
156 } else if (ProtoToken.is(tok::TokenKind::l_paren)) {
164 if (ProtoToken.is(tok::TokenKind::r_paren)) {
166 } else if (ProtoToken.is(tok::TokenKind::l_paren)) {
173 if (State == SawVoid && ProtoToken.is(tok::TokenKind::r_paren)) {
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp 21 tok::TokenKind getTokenKind(SourceLocation Loc, const SourceManager &SM,
44 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context);
62 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context);
74 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context);
89 tok::TokenKind TokKind = getTokenKind(Loc, SM, Context);
195 tok::TokenKind TokKind = getTokenKind(RParenLoc, SM, Context);
tools/clang/tools/extra/clang-tidy/readability/SimplifyBooleanExprCheck.cpp 311 if (Tok.is(tok::TokenKind::comment) || Tok.is(tok::TokenKind::hash))
311 if (Tok.is(tok::TokenKind::comment) || Tok.is(tok::TokenKind::hash))
tools/clang/tools/extra/clang-tidy/utils/LexerUtils.cpp 49 tok::TokenKind TK) {
tools/clang/tools/extra/clang-tidy/utils/LexerUtils.h 32 tok::TokenKind TK);
41 TokenKind TK, TokenKinds... TKs) {
41 TokenKind TK, TokenKinds... TKs) {
62 const LangOptions &LangOpts, TokenKind TK,
63 TokenKinds... TKs) {
tools/clang/tools/extra/clangd/SourceCode.cpp 273 if (Tok.is(tok::TokenKind::NUM_TOKENS))
275 if (Tok.is(tok::TokenKind::raw_identifier))
tools/clang/unittests/Lex/LexerTest.cpp 83 ArrayRef<tok::TokenKind> ExpectedTokens) {
115 std::vector<tok::TokenKind> ExpectedTokens;
129 std::vector<tok::TokenKind> ExpectedTokens;
141 std::vector<tok::TokenKind> ExpectedTokens;
154 std::vector<tok::TokenKind> ExpectedTokens;
167 std::vector<tok::TokenKind> ExpectedTokens;
181 std::vector<tok::TokenKind> ExpectedTokens;
196 std::vector<tok::TokenKind> ExpectedTokens;
209 std::vector<tok::TokenKind> ExpectedTokens;
222 std::vector<tok::TokenKind> ExpectedTokens;
236 std::vector<tok::TokenKind> ExpectedTokens;
251 std::vector<tok::TokenKind> ExpectedTokens;
266 std::vector<tok::TokenKind> ExpectedTokens;
458 std::vector<tok::TokenKind> ExpectedTokens{5, tok::identifier};
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp 539 case clang::tok::TokenKind::identifier:
542 case clang::tok::TokenKind::raw_identifier:
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp 71 bool CPlusPlusNameParser::ConsumeToken(tok::TokenKind kind) {
82 template <typename... Ts> bool CPlusPlusNameParser::ConsumeToken(Ts... kinds) {
195 tok::TokenKind kind = Peek().getKind();
297 bool CPlusPlusNameParser::ConsumeBrackets(tok::TokenKind left,
298 tok::TokenKind right) {
306 tok::TokenKind kind = Peek().getKind();
633 static const llvm::StringMap<tok::TokenKind> &GetKeywordsMap() {
634 static llvm::StringMap<tok::TokenKind> g_map{
tools/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusNameParser.h 120 bool ConsumeToken(clang::tok::TokenKind kind);
125 bool ConsumeBrackets(clang::tok::TokenKind left, clang::tok::TokenKind right);
125 bool ConsumeBrackets(clang::tok::TokenKind left, clang::tok::TokenKind right);
usr/include/c++/7.4.0/bits/alloc_traits.h 387 using allocator_type = allocator<_Tp>;
389 using value_type = _Tp;
392 using pointer = _Tp*;
395 using const_pointer = const _Tp*;
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
474 construct(allocator_type& __a, _Up* __p, _Args&&... __args)
475 { __a.construct(__p, std::forward<_Args>(__args)...); }
486 destroy(allocator_type& __a, _Up* __p)
usr/include/c++/7.4.0/bits/allocator.h 108 class allocator: public __allocator_base<_Tp>
113 typedef _Tp* pointer;
114 typedef const _Tp* const_pointer;
115 typedef _Tp& reference;
116 typedef const _Tp& const_reference;
117 typedef _Tp value_type;
137 allocator(const allocator<_Tp1>&) throw() { }
usr/include/c++/7.4.0/bits/cpp_type_traits.h 329 : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
329 : public __traitor<__is_integer<_Tp>, __is_floating<_Tp> >
337 : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
337 : public __traitor<__is_arithmetic<_Tp>, __is_pointer<_Tp> >
usr/include/c++/7.4.0/bits/move.h 72 constexpr _Tp&&
73 forward(typename std::remove_reference<_Tp>::type& __t) noexcept
83 constexpr _Tp&&
84 forward(typename std::remove_reference<_Tp>::type&& __t) noexcept
98 move(_Tp&& __t) noexcept
104 : public __and_<__not_<is_nothrow_move_constructible<_Tp>>,
105 is_copy_constructible<_Tp>>::type { };
usr/include/c++/7.4.0/bits/ptr_traits.h 126 typedef _Tp* pointer;
128 typedef _Tp element_type;
141 pointer_to(__make_not_void<element_type>& __r) noexcept
usr/include/c++/7.4.0/bits/stl_algobase.h 356 static _Tp*
357 __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
357 __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
357 __copy_m(const _Tp* __first, const _Tp* __last, _Tp* __result)
361 is_move_assignable<_Tp>,
362 is_copy_assignable<_Tp>>;
368 __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
737 __gnu_cxx::__enable_if<!__is_scalar<_Tp>::__value, _OutputIterator>::__type
738 __fill_n_a(_OutputIterator __first, _Size __n, const _Tp& __value)
784 fill_n(_OI __first, _Size __n, const _Tp& __value)
usr/include/c++/7.4.0/bits/stl_construct.h 204 allocator<_Tp>&)
usr/include/c++/7.4.0/bits/stl_iterator.h 1224 __make_move_if_noexcept_iterator(_Tp* __i)
usr/include/c++/7.4.0/bits/stl_iterator_base_types.h 181 typedef _Tp value_type;
183 typedef _Tp* pointer;
184 typedef _Tp& reference;
usr/include/c++/7.4.0/bits/stl_pair.h 101 is_constructible<_T2, const _U2&>>::value;
101 is_constructible<_T2, const _U2&>>::value;
108 is_convertible<const _U2&, _T2>>::value;
108 is_convertible<const _U2&, _T2>>::value;
115 is_constructible<_T2, _U2&&>>::value;
115 is_constructible<_T2, _U2&&>>::value;
122 is_convertible<_U2&&, _T2>>::value;
122 is_convertible<_U2&&, _T2>>::value;
129 is_convertible<_U2&&, _T2>>;
129 is_convertible<_U2&&, _T2>>;
134 is_constructible<_T2, _U2&&>,
134 is_constructible<_T2, _U2&&>,
143 is_convertible<const _U2&, _T2>>;
143 is_convertible<const _U2&, _T2>>;
148 is_constructible<_T2, const _U2&&>,
148 is_constructible<_T2, const _U2&&>,
209 : private __pair_base<_T1, _T2>
212 typedef _T2 second_type; /// @c second_type is the second bound type
215 _T2 second; /// @c second is a copy of the second object
252 using _PCCP = _PCC<true, _T1, _T2>;
260 constexpr pair(const _T1& __a, const _T2& __b)
269 explicit constexpr pair(const _T1& __a, const _T2& __b)
283 _T1, _T2>;
311 constexpr pair(_U1&& __x, const _T2& __y)
318 explicit constexpr pair(_U1&& __x, const _T2& __y)
325 constexpr pair(const _T1& __x, _U2&& __y)
341 constexpr pair(_U1&& __x, _U2&& __y)
342 : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { }
380 is_copy_assignable<_T2>>::value,
391 is_move_assignable<_T2>>::value,
403 is_assignable<_T2&, const _U2&>>::value,
403 is_assignable<_T2&, const _U2&>>::value,
405 operator=(const pair<_U1, _U2>& __p)
414 is_assignable<_T2&, _U2&&>>::value,
414 is_assignable<_T2&, _U2&&>>::value,
416 operator=(pair<_U1, _U2>&& __p)
usr/include/c++/7.4.0/bits/stl_uninitialized.h 227 const _Tp& __x)
244 uninitialized_fill_n(_ForwardIterator __first, _Size __n, const _Tp& __x)
288 _ForwardIterator __result, allocator<_Tp>&)
344 const _Tp& __x, _Allocator& __alloc)
365 const _Tp& __x, allocator<_Tp2>&)
365 const _Tp& __x, allocator<_Tp2>&)
usr/include/c++/7.4.0/bits/stl_vector.h 77 rebind<_Tp>::other _Tp_alloc_type;
216 class vector : protected _Vector_base<_Tp, _Alloc>
227 typedef _Vector_base<_Tp, _Alloc> _Base;
232 typedef _Tp value_type;
919 _Tp*
923 const _Tp*
962 emplace_back(_Args&&... __args);
1483 _M_realloc_insert(iterator __position, _Args&&... __args);
1561 _Up*
1562 _M_data_ptr(_Up* __ptr) const _GLIBCXX_NOEXCEPT
usr/include/c++/7.4.0/bits/vector.tcc 101 std::forward<_Args>(__args)...);
105 _M_realloc_insert(end(), std::forward<_Args>(__args)...);
418 std::forward<_Args>(__args)...);
usr/include/c++/7.4.0/ext/alloc_traits.h 117 { typedef typename _Base_type::template rebind_alloc<_Tp> other; };
usr/include/c++/7.4.0/ext/new_allocator.h 63 typedef _Tp* pointer;
64 typedef const _Tp* const_pointer;
65 typedef _Tp& reference;
66 typedef const _Tp& const_reference;
67 typedef _Tp value_type;
84 new_allocator(const new_allocator<_Tp1>&) _GLIBCXX_USE_NOEXCEPT { }
111 return static_cast<_Tp*>(::operator new(__n * sizeof(_Tp)));
130 { return size_t(-1) / sizeof(_Tp); }
135 construct(_Up* __p, _Args&&... __args)
135 construct(_Up* __p, _Args&&... __args)
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
136 { ::new((void *)__p) _Up(std::forward<_Args>(__args)...); }
140 destroy(_Up* __p) { __p->~_Up(); }
140 destroy(_Up* __p) { __p->~_Up(); }
usr/include/c++/7.4.0/initializer_list 50 typedef _E value_type;
51 typedef const _E& reference;
52 typedef const _E& const_reference;
54 typedef const _E* iterator;
55 typedef const _E* const_iterator;
usr/include/c++/7.4.0/tuple 56 struct __is_empty_non_tuple : is_empty<_Tp> { };
125 constexpr _Head_base(const _Head& __h)
132 constexpr _Head_base(_UHead&& __h)
159 static constexpr _Head&
162 static constexpr const _Head&
165 _Head _M_head_impl;
344 : private _Head_base<_Idx, _Head>
348 typedef _Head_base<_Idx, _Head> _Base;
350 static constexpr _Head&
353 static constexpr const _Head&
360 constexpr _Tuple_impl(const _Head& __head)
365 constexpr _Tuple_impl(_UHead&& __head)
376 constexpr _Tuple_impl(const _Tuple_impl<_Idx, _UHead>& __in)
380 constexpr _Tuple_impl(_Tuple_impl<_Idx, _UHead>&& __in)
390 const _Head& __head)
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
473 return __and_<is_constructible<_Elements, const _UElements&>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
479 return __and_<is_convertible<const _UElements&, _Elements>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
485 return __and_<is_constructible<_Elements, _UElements&&>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
491 return __and_<is_convertible<_UElements&&, _Elements>...>::value;
508 return __not_<is_same<tuple<_Elements...>,
556 class tuple : public _Tuple_impl<0, _Elements...>
558 typedef _Tuple_impl<0, _Elements...> _Inherited;
598 _Elements...>;
608 constexpr tuple(const _Elements&... __elements)
619 explicit constexpr tuple(const _Elements&... __elements)
628 _Elements...>;
636 _Elements...>;
646 constexpr tuple(_UElements&&... __elements)
668 _Elements...>;
730 const _Elements&... __elements)
741 const _Elements&... __elements)
1288 typedef _Head type;
1302 constexpr _Head&
1303 __get_helper(_Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
1307 constexpr const _Head&
1308 __get_helper(const _Tuple_impl<__i, _Head, _Tail...>& __t) noexcept
1309 { return _Tuple_impl<__i, _Head, _Tail...>::_M_head(__t); }
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1313 constexpr __tuple_element_t<__i, tuple<_Elements...>>&
1314 get(tuple<_Elements...>& __t) noexcept
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1319 constexpr const __tuple_element_t<__i, tuple<_Elements...>>&
1320 get(const tuple<_Elements...>& __t) noexcept
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
1325 constexpr __tuple_element_t<__i, tuple<_Elements...>>&&
1326 get(tuple<_Elements...>&& __t) noexcept
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
326 : public __is_integral_helper<typename remove_cv<_Tp>::type>::type
354 : public __is_floating_point_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
588 : public __or_<is_integral<_Tp>, is_floating_point<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
611 : public __or_<is_arithmetic<_Tp>, is_enum<_Tp>, is_pointer<_Tp>,
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
612 is_member_pointer<_Tp>, is_null_pointer<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
762 typename add_rvalue_reference<_Tp>::type declval() noexcept;
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
777 : public __and_<is_array<_Tp>, __not_<extent<_Tp>>>
825 : public __is_destructible_safe<_Tp>::type
889 typedef decltype(__test<_Tp>(0)) type;
894 : public __and_<__not_<is_void<_Tp>>,
895 __is_default_constructible_impl<_Tp>>
915 : public __is_default_constructible_atom<_Tp>::type
921 : public __is_default_constructible_safe<_Tp>::type
984 typedef decltype(__test<_Tp, _Arg>(0)) type;
989 : public __and_<is_destructible<_Tp>,
990 __is_direct_constructible_impl<_Tp, _Arg>>
1072 __is_direct_constructible_ref_cast<_Tp, _Arg>,
1073 __is_direct_constructible_new_safe<_Tp, _Arg>
1079 : public __is_direct_constructible_new<_Tp, _Arg>::type
1119 : public __is_direct_constructible<_Tp, _Arg>
1130 : public __is_constructible_impl<_Tp, _Args...>::type
1142 : public is_constructible<_Tp, const _Tp&>
1142 : public is_constructible<_Tp, const _Tp&>
1148 : public __is_copy_constructible_impl<_Tp>
1160 : public is_constructible<_Tp, _Tp&&>
1160 : public is_constructible<_Tp, _Tp&&>
1166 : public __is_move_constructible_impl<_Tp>
1215 : public __and_<is_constructible<_Tp, _Args...>,
1216 __is_nt_constructible_impl<_Tp, _Args...>>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1246 : public is_nothrow_constructible<_Tp, _Tp&&>
1252 : public __is_nothrow_move_constructible_impl<_Tp>
1286 : public is_assignable<_Tp&, const _Tp&>
1286 : public is_assignable<_Tp&, const _Tp&>
1292 : public __is_copy_assignable_impl<_Tp>
1304 : public is_assignable<_Tp&, _Tp&&>
1304 : public is_assignable<_Tp&, _Tp&&>
1310 : public __is_move_assignable_impl<_Tp>
1377 static void __helper(const _Tp&);
1380 static true_type __test(const _Tp&,
1381 decltype(__helper<const _Tp&>({}))* = 0);
1390 typedef decltype(__test(declval<_Tp>())) type;
1395 : public __is_implicitly_default_constructible_impl<_Tp>::type
1400 : public __and_<is_default_constructible<_Tp>,
1401 __is_implicitly_default_constructible_safe<_Tp>>
1526 static void __test_aux(_To1);
1538 typedef decltype(__test<_From, _To>(0)) type;
1545 : public __is_convertible_helper<_From, _To>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1629 { typedef _Tp type; };
1633 { typedef _Tp type; };
1659 { typedef _Tp&& type; };
1664 : public __add_rvalue_reference_helper<_Tp>
2171 { typedef _Iffalse type; };
utils/unittest/googletest/include/gtest/gtest-printers.h 223 void DefaultPrintNonContainerTo(const T& value, ::std::ostream* os) {
276 static ::std::string Format(const ToPrint& value) {
351 const T1& value, const T2& /* other_operand */) {
351 const T1& value, const T2& /* other_operand */) {
352 return FormatForComparison<T1, T2>::Format(value);
352 return FormatForComparison<T1, T2>::Format(value);
366 void UniversalPrint(const T& value, ::std::ostream* os);
373 const C& container, ::std::ostream* os) {
439 const T& value, ::std::ostream* os) {
455 void PrintTo(const T& value, ::std::ostream* os) {
478 DefaultPrintTo(IsContainerTest<T>(0), is_pointer<T>(), value, os);
699 static void Print(const T& value, ::std::ostream* os) {
784 static void Print(const T& value, ::std::ostream* os) {
844 void UniversalTersePrint(const T& value, ::std::ostream* os) {
845 UniversalTersePrinter<T>::Print(value, os);
856 typedef T T1;
895 typedef ::std::tuple<Types...> Tuple;
983 internal::UniversalTersePrinter<T>::Print(value, &ss);
utils/unittest/googletest/include/gtest/gtest.h 1377 const T1& lhs, const T2& rhs) {
1377 const T1& lhs, const T2& rhs) {
1389 const T1& lhs,
1390 const T2& rhs) {
1419 const T1& lhs,
1420 const T2& rhs) {
utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h 35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
35 auto printable(const T &V) -> decltype(StreamSwitch<T>::printable(V)) {
37 return StreamSwitch<T>::printable(V);
54 const T& V;
55 friend std::ostream &operator<<(std::ostream &S, const RawStreamProxy<T> &V) {
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
69 static const RawStreamProxy<T> printable(const T &V) { return {V}; }
utils/unittest/googletest/include/gtest/internal/gtest-internal.h 94 ::std::string PrintToString(const T& value);