Home
last modified time | relevance | path

Searched refs:parentheses (Results 1 – 25 of 71) sorted by relevance

123

/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dmacro-parentheses.rst1 .. title:: clang-tidy - bugprone-macro-parentheses
3 bugprone-macro-parentheses
7 Finds macros that can have unexpected behavior due to missing parentheses.
14 it with parentheses. This ensures that the macro result is evaluated
18 with parentheses. This ensures that the argument value is calculated
H A Dassignment-in-if-condition.rst10 by `-Wparentheses` due to an extra set of parentheses, and including assignments that call
/llvm-project-15.0.7/clang/test/Misc/
H A Dwarning-wall.c91 CHECK-NEXT: -Wlogical-op-parentheses
92 CHECK-NEXT: -Wlogical-not-parentheses
93 CHECK-NEXT: -Wbitwise-conditional-parentheses
94 CHECK-NEXT: -Wbitwise-op-parentheses
95 CHECK-NEXT: -Wshift-op-parentheses
96 CHECK-NEXT: -Woverloaded-shift-op-parentheses
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dwarn-unreachable.m54 // Test "silencing" with parentheses.
56 …d-warning {{will never be executed}} expected-note {{silence by adding parentheses to mark code as…
59 if (YES) // expected-note {{silence by adding parentheses to mark code as explicitly dead}}
69 if (!YES) // expected-note {{silence by adding parentheses to mark code as explicitly dead}}
H A Didiomatic-parentheses.m3 // Don't warn about some common ObjC idioms unless we have -Widiomatic-parentheses on.
30 …0) { // expected-warning {{using the result of an assignment as a condition without parentheses}} \
31 … // expected-note {{place parentheses around the assignment to silence this warning}} \
H A Dself-assign.m9 …]) {} // expected-warning{{using the result of an assignment as a condition without parentheses}} \
11 // expected-note{{place parentheses around the assignment to silence this warning}}
/llvm-project-15.0.7/clang/test/Sema/
H A Dparentheses.cpp89 … expected-note {{place parentheses around the '+' expression to silence this warning}} in test()
94 … expected-note {{place parentheses around the '-' expression to silence this warning}} in test()
100 … expected-note {{place parentheses around the '+' expression to silence this warning}} in test()
/llvm-project-15.0.7/clang-tools-extra/clangd/test/
H A Dfixits-codeaction.test10 … "message": "Using the result of an assignment as a condition without parentheses (fixes availabl…
29 …:2,"message":"Using the result of an assignment as a condition without parentheses (fixes availabl…
37 … "message": "Using the result of an assignment as a condition without parentheses (fixes availabl…
85 # CHECK-NEXT: "title": "place parentheses around the assignment to silence this warning"
91 … "message": "Using the result of an assignment as a condition without parentheses (fixes availabl…
H A Dfixits-command.test10 … "message": "Using the result of an assignment as a condition without parentheses (fixes availabl…
29 …:2,"message":"Using the result of an assignment as a condition without parentheses (fixes availabl…
69 # CHECK-NEXT: "title": "Apply fix: place parentheses around the assignment to silence this war…
98 …:2,"message":"Using the result of an assignment as a condition without parentheses (fixes availabl…
139 # CHECK-NEXT: "title": "Apply fix: place parentheses around the assignment to silence this war…
H A Dcrash-non-added-files.test4 …thout parentheses"},{"range":{"start": {"line": 0, "character": 34}, "end": {"line": 0, "character…
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dalign-param-attr-error0.ll2 ; Test parse errors when using form of align attribute with parentheses
H A Dalign-param-attr-error2.ll2 ; Test parse errors when using form of align attribute with parentheses
H A Dalign-param-attr-error1.ll2 ; Test parse errors when using form of align attribute with parentheses
H A Dthinlto-bad-summary3.ll2 ; parentheses.
/llvm-project-15.0.7/mlir/test/IR/
H A Ddiagnostic-handler-verify-regex.mlir8 // CHECK: invalid regex: parentheses not balanced
H A Dinvalid-affinemap.mlir5 #hello_world = affine_map<(i, j) -> ((), j)> // expected-error {{no expression inside parentheses}}
67 // expected-error@-1 {{no expression inside parentheses}}
/llvm-project-15.0.7/mlir/test/Pass/
H A Dpipeline-parsing.mlir10 // CHECK_ERROR_1: encountered unbalanced parentheses while parsing pipeline
11 // CHECK_ERROR_2: encountered extra closing ')' creating unbalanced parentheses while parsing pipel…
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Dprotocol-lookup.mm55 …ected-warning{{disambiguated as a function declaration}} expected-note{{add a pair of parentheses}}
/llvm-project-15.0.7/llvm/test/MC/RISCV/
H A Drv64a-invalid.s3 # Final operand must have parentheses
H A Drv32a-invalid.s3 # Final operand must have parentheses
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dsimplify-boolean-expr.rst40 1. Unnecessary parentheses around the expression are removed.
55 parentheses and becomes ``bool b = i < 0;``.
/llvm-project-15.0.7/lldb/include/lldb/Core/
H A DHighlighter.h78 ColorStyle parentheses; member
/llvm-project-15.0.7/clang/test/Analysis/
H A DObjCProperties.m27 // extra parentheses being caught inside PseudoObjectExpr.
/llvm-project-15.0.7/libcxx/
H A D.clang-tidy44 # bugprone-macro-parentheses,
/llvm-project-15.0.7/mlir/
H A D.clang-tidy9 bugprone-macro-parentheses,

123