llvm-project/clang/lib/Sema
Nico Weber 44f6f2ee42 Expand -Wlogical-not-parentheses to also fire on `!x & A`.
This is a misspelling of the intended !(x & A) negated bit test that happens in
practice every now and then.

I ran this on Chromium and all its dependencies, and it fired 0 times -- no
false or true positives, but it would've caught a bug in an in-progress change
that had to be caught by a Visual Studio warning instead.

https://reviews.llvm.org/D26035

llvm-svn: 285310
2016-10-27 16:32:06 +00:00
..
AnalysisBasedWarnings.cpp [coroutines] Build fallthrough and set_exception statements. 2016-10-27 07:30:31 +00:00
AttributeList.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
CMakeLists.txt It seems we need to add SemaExpr.cpp to the /bigobj list; I am getting consistent failures of hitting the section count limit. 2016-06-01 15:17:54 +00:00
CodeCompleteConsumer.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
DeclSpec.cpp [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
DelayedDiagnostic.cpp [NFC][ObjC Availability] Refactor DiagnoseAvailabilityOfDecl 2016-08-05 22:59:03 +00:00
IdentifierResolver.cpp [modules] Separately track whether an identifier's preprocessor information and 2016-02-05 19:03:40 +00:00
JumpDiagnostics.cpp [Sema] Handle CaseStmt and DefaultStmt as SwitchCase 2016-10-26 02:00:00 +00:00
MultiplexExternalSemaSource.cpp [Sema] Use unique_ptr instead of raw pointers in the late-parsed templates map. 2016-10-10 16:26:08 +00:00
Scope.cpp [Parser] Clear the TemplateParamScope bit of the current scope's flag 2016-04-29 02:24:14 +00:00
ScopeInfo.cpp [ObjC] Warn on unguarded use of partial declaration 2016-08-16 17:44:11 +00:00
Sema.cpp Do not reset TUScope when we are in incremental processing mode. 2016-10-17 10:15:25 +00:00
SemaAccess.cpp P0136R1, DR1573, DR1645, DR1715, DR1736, DR1903, DR1941, DR1959, DR1991: 2016-06-28 19:03:57 +00:00
SemaAttr.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
SemaCUDA.cpp [CUDA] Use FunctionDeclAndLoc for the Sema::LocsWithCUDACallDiags hashtable. 2016-10-21 20:08:52 +00:00
SemaCXXScopeSpec.cpp Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00
SemaCast.cpp Remove unnecessary distinction between Ref_Compatible and 2016-10-21 23:01:55 +00:00
SemaChecking.cpp Add support for __builtin_os_log_format[_buffer_size] 2016-10-24 20:39:34 +00:00
SemaCodeComplete.cpp [CodeCompletion] Add a block property setter completion result 2016-10-18 10:55:01 +00:00
SemaConsumer.cpp
SemaCoroutine.cpp [coroutines] Add allocation and deallocation substatements. 2016-10-27 16:28:31 +00:00
SemaDecl.cpp [Sema] -Wunused-variable warning for array variables should behave 2016-10-27 13:30:51 +00:00
SemaDeclAttr.cpp Reapply r284265: "[Sema] Refactor context checking for availability diagnostics" 2016-10-25 19:05:50 +00:00
SemaDeclCXX.cpp [modules] PR28812: Modules can return duplicate field decls. 2016-10-26 10:24:29 +00:00
SemaDeclObjC.cpp Module: for ObjectiveC, be consistent when checking hidden decls. 2016-10-11 21:18:20 +00:00
SemaExceptionSpec.cpp [c++1z] P0012R1: Implement a few remaining pieces: downgrade diagnostic for 2016-10-22 01:32:19 +00:00
SemaExpr.cpp Expand -Wlogical-not-parentheses to also fire on `!x & A`. 2016-10-27 16:32:06 +00:00
SemaExprCXX.cpp [c++1z] P0012R1: Implement a few remaining pieces: downgrade diagnostic for 2016-10-22 01:32:19 +00:00
SemaExprMember.cpp P0217R3: Perform semantic checks and initialization for the bindings in a 2016-08-11 22:25:46 +00:00
SemaExprObjC.cpp Fix typos in comments. 2016-09-01 01:26:58 +00:00
SemaFixItUtils.cpp Wire a SourceLocation into IsDerivedFrom and move the RequireCompleteType call 2015-12-18 21:45:41 +00:00
SemaInit.cpp Remove unnecessary distinction between Ref_Compatible and 2016-10-21 23:01:55 +00:00
SemaLambda.cpp Fix for PR30632: Name mangling issue. 2016-10-14 12:43:59 +00:00
SemaLookup.cpp Revert accidentally checked in change in r281315. 2016-09-13 10:38:26 +00:00
SemaObjCProperty.cpp [ObjC] Remove _Atomic from return type and parameter type of 2016-05-26 00:37:30 +00:00
SemaOpenMP.cpp Re-apply patch r279045. 2016-10-25 12:50:55 +00:00
SemaOverload.cpp [c++1z] P0012R1: Implement a few remaining pieces: downgrade diagnostic for 2016-10-22 01:32:19 +00:00
SemaPseudoObject.cpp PR25890: Fix incoherent error handling in PerformImplicitConversion and 2016-10-06 23:12:58 +00:00
SemaStmt.cpp [CUDA] Add Sema::CUDADiagBuilder and Sema::CUDADiagIf{Device,Host}Code(). 2016-10-13 18:45:08 +00:00
SemaStmtAsm.cpp [NFC] Header cleanup 2016-07-18 19:02:11 +00:00
SemaStmtAttr.cpp Add loop pragma for Loop Distribution 2016-06-14 12:04:26 +00:00
SemaTemplate.cpp Reinstate r284008 reverted in r284081, with two fixes: 2016-10-14 21:41:24 +00:00
SemaTemplateDeduction.cpp [c++1z] P0012R1: Implement a few remaining pieces: downgrade diagnostic for 2016-10-22 01:32:19 +00:00
SemaTemplateInstantiate.cpp P0127R2: Support type deduction for types of non-type template parameters in 2016-09-28 23:55:27 +00:00
SemaTemplateInstantiateDecl.cpp Reinstate r284008 reverted in r284081, with two fixes: 2016-10-14 21:41:24 +00:00
SemaTemplateVariadic.cpp PR26276: Fix detection of non-cast-expressions as operands of fold-expressions. 2016-10-20 00:55:15 +00:00
SemaType.cpp [Sema] Store a SourceRange for multi-token builtin types 2016-10-21 21:13:56 +00:00
TreeTransform.h [coroutines] Build fallthrough and set_exception statements. 2016-10-27 07:30:31 +00:00
TypeLocBuilder.cpp [Sema] Fix bug in TypeLocBuilder::pushImpl 2016-02-18 21:05:09 +00:00
TypeLocBuilder.h Retire llvm::alignOf in favor of C++11 alignof. 2016-10-20 14:27:22 +00:00