Home
last modified time | relevance | path

Searched refs:constMethod (Results 1 – 7 of 7) sorted by relevance

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dunnecessary-copy-initialization.cpp27 bool constMethod() const;
48 bool constMethod() const;
66 bool constMethod() const;
87 AutoAssigned.constMethod(); in PositiveFunctionCall()
92 AutoCopyConstructed.constMethod(); in PositiveFunctionCall()
97 VarAssigned.constMethod(); in PositiveFunctionCall()
102 VarCopyConstructed.constMethod();
109 AutoAssigned.constMethod(); in PositiveMethodCallConstReferenceParam()
114 AutoCopyConstructed.constMethod(); in PositiveMethodCallConstReferenceParam()
119 VarAssigned.constMethod(); in PositiveMethodCallConstReferenceParam()
[all...]
H A Dunnecessary-copy-initialization-excluded-container-types.cpp19 void constMethod() const;
36 O.constMethod(); in positiveViewType()
43 O.constMethod(); in excludedViewTypeInNamespace()
50 O.constMethod(); in excludedViewTypeAliased()
54 P.constMethod(); in excludedViewTypeAliased()
60 E.constMethod(); in excludedConstIncorrectType()
66 E.constMethod(); in excludedConstIncorrectTypeOperator()
71 E.constMethod(); in excludedConstIncorrectTypeAsPointer()
76 E.constMethod(); in excludedConstIncorrectTypeAsPointerOperator()
81 E.constMethod(); in excludedConstIncorrectTypeAsReference()
[all …]
H A Dunnecessary-copy-initialization-allowed-types.cpp37 void constMethod() const;
93 O.constMethod(); in positiveOtherType()
H A Dfor-range-copy.cpp123 bool constMethod() const { in constMethod() function
218 M.constMethod(); in positiveOnlyConstMethodInvoked()
330 bool b = SS.Member.constMethod(); in positiveConstMemberExpr()
H A Dunnecessary-value-param.cpp71 void constMethod() const; in positiveExpensiveValue()
261 M.constMethod(); in PositiveConstRefNotMoveSinceReferencedMultipleTimes()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dconst-correctness-transform-values.cpp58 double constMethod() const {} in constMethod() function
75 p_local0.constMethod(); in direct_class_access()
82 p_local0[0].constMethod(); in class_access_array()
H A Dconst-correctness-values.cpp287 double constMethod() const {}
303 np_local0.constMethod(); in direct_class_access()
309 p_local0.constMethod(); in direct_class_access()
343 np_local0[0].constMethod(); in class_access_array()
344 np_local0[1].constMethod();
350 p_local0[0].constMethod();
351 np_local0[1].constMethod();
278 double constMethod() const {} constMethod() function