Home
last modified time | relevance | path

Searched refs:NeedParens (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clang-tidy/abseil/
DTimeSubtractionCheck.cpp149 bool NeedParens = parensRequired(Result, OuterCall); in check() local
153 (llvm::Twine(NeedParens ? "(" : "") + in check()
156 (NeedParens ? ")" : "")) in check()
174 bool NeedParens = parensRequired(Result, MaybeCallArg); in check() local
178 (llvm::Twine(NeedParens ? "(" : "") + in check()
182 (NeedParens ? ")" : "")) in check()
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DImplicitBoolConversionCheck.cpp182 bool NeedParens = !isa<ParenExpr>(SubExpr); in fixGenericExprCastFromBool() local
186 (Twine("static_cast<") + OtherType + ">" + (NeedParens ? "(" : "")) in fixGenericExprCastFromBool()
189 if (NeedParens) { in fixGenericExprCastFromBool()
/external/clang/lib/Parse/
DParseDecl.cpp6196 bool NeedParens = false; in ParseMisplacedBracketDeclarator() local
6204 NeedParens = true; in ParseMisplacedBracketDeclarator()
6213 if (NeedParens) { in ParseMisplacedBracketDeclarator()
6231 if (!D.getIdentifier() && !NeedParens) in ParseMisplacedBracketDeclarator()
6240 if (NeedParens) { in ParseMisplacedBracketDeclarator()
/external/llvm-project/clang/lib/Parse/
DParseDecl.cpp7099 bool NeedParens = false; in ParseMisplacedBracketDeclarator() local
7107 NeedParens = true; in ParseMisplacedBracketDeclarator()
7116 if (NeedParens) { in ParseMisplacedBracketDeclarator()
7131 if (!D.getIdentifier() && !NeedParens) in ParseMisplacedBracketDeclarator()
7140 if (NeedParens) { in ParseMisplacedBracketDeclarator()