Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
ea403825faa5b8780a9b44277e6a2c68d7849146
/
test
/
SemaCXX
/
warn-assignment-condition.cpp
f1bb0b0
Place 'equality comparison with extraneous parentheses...' into a subgroup of -Wparentheses called -Wparentheses-equality.
by Ted Kremenek
· 13 years ago
170a6a2
Don't do the checks of Sema::DiagnoseEqualityWithExtraParens() on type-dependent expressions. Fixes rdar://9027658.
by Argyrios Kyrtzidis
· 14 years ago
f7275cd
Remove redundant check to not warn for warn_equality_with_extra_parens if we are in a macro. This is checked twice.
by Ted Kremenek
· 14 years ago
006ae38
Don't warn about extraneous '()' around a comparison if it occurs within a macro.
by Ted Kremenek
· 14 years ago
cf1620a
Don't warn for "if ((a == b))" if the parens came from a macro. Thanks to Fariborz for the hint!
by Argyrios Kyrtzidis
· 14 years ago
70f2330
For "if ((a == b))" only warn if 'a' is a modifiable l-value. Caught by John!
by Argyrios Kyrtzidis
· 14 years ago
0e2dc3a
Warn for "if ((a == b))" where the equality expression is needlessly wrapped inside parentheses.
by Argyrios Kyrtzidis
· 14 years ago
92c3a04
Warn about the use of unparenthesized |= in conditionals (which may be
by Douglas Gregor
· 14 years ago
55b3884
When diagnosing suspicious precedence or assignments, move the fix-it
by Douglas Gregor
· 15 years ago
827feec
Improve the fix-its for -Wparentheses to ensure that the fix-it
by Douglas Gregor
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
5a881bb
Implement -Wparentheses: warn about using assignments in contexts that require
by John McCall
· 15 years ago