llvm-project/clang/test
Mark de Wever c03349e40f [Sema] Remove a -Wrange warning from -Wall
During the review of D73007 Aaron Puchert mentioned
`warn_for_range_variable_always_copy` shouldn't be part of -Wall since
some coding styles require `for(const auto &bar : bars)`. This warning
would cause false positives for these users. Based on Aaron's proposal
refactored the warnings:

* -Wrange-loop-construct warns about possibly unintended constructor
  calls. This is part of -Wall. It contains
  * warn_for_range_copy: loop variable A of type B creates a copy from
    type C
  * warn_for_range_const_reference_copy: loop variable A is initialized
    with a value of a different type resulting in a copy
* -Wrange-loop-bind-reference warns about misleading use of reference
  types. This is not part of -Wall. It contains
  * warn_for_range_variable_always_copy: loop variable A is always a copy
    because the range of type B does not return a reference

Differential Revision: https://reviews.llvm.org/D73434
2020-02-01 18:44:27 +01:00
..
ARCMT
AST [Concepts] Placeholder constraints and abbreviated templates 2020-01-23 19:39:43 +02:00
ASTMerge
Analysis [Analyzer] Split container modeling from iterator modeling 2020-01-29 16:10:45 +01:00
CXX PR44723: Trigger return type deduction for operator<=>s whose return 2020-01-31 13:06:48 -08:00
ClangScanDeps [clang][clang-scan-deps] Aggregate the full dependency information. 2020-01-23 16:58:50 -08:00
CodeCompletion [clang][CodeComplete] Support for designated initializers 2020-01-28 16:34:15 +01:00
CodeGen [Frontend] Delete a redundant check of -pg for setFramePointer() 2020-02-01 00:29:29 -08:00
CodeGenCUDA Consolidate internal denormal flushing controls 2020-01-17 20:09:53 -05:00
CodeGenCXX Don't assume a reference refers to at least sizeof(T) bytes. 2020-01-31 19:08:17 -08:00
CodeGenCoroutines
CodeGenHIP Don't dump IR output from this test to stdout. 2020-01-16 19:19:45 -08:00
CodeGenObjC [objc_direct] fix codegen for mismatched Decl/Impl return types 2020-01-30 18:17:45 -08:00
CodeGenObjCXX Debug Info: Strengthen the synthesized-property-cleanup.mm test, NFC 2019-12-10 13:39:22 -08:00
CodeGenOpenCL Corrected clang amdgpu-features.cl test for 6d614a82a4 (AMDGPU MFMA built-ins) 2020-01-28 05:41:42 -05:00
CodeGenOpenCLCXX [OpenCL] Add ExtVectorElementExpr constant evaluation (PR42387) 2019-12-17 11:10:06 +00:00
Coverage
CoverageMapping
Driver Implement -fsemantic-interposition 2020-01-31 14:02:33 +01:00
FixIt Revert "[objc_direct] Small updates to help with adoption." 2020-01-30 18:21:25 -08:00
Format
Frontend [clang][test][NFC] Use more widely supported sanitizer for file dependency tests 2020-01-14 12:55:11 -08:00
Headers Revert "PR17164: Change clang's default behavior from -flax-vector-conversions=all to -flax-vector-conversions=integer." 2020-01-20 16:34:09 -08:00
Import
Index [OpenCL] Pretty print __private addr space 2019-12-27 13:42:07 +00:00
Integration
InterfaceStubs [clang][IFS][test] Temporary work around for in-process cc1 ASAN issues. 2020-01-21 22:56:20 -05:00
Layout
Lexer Detect source location overflow due includes 2020-01-24 23:56:47 +00:00
Misc [Sema] Remove a -Wrange warning from -Wall 2020-02-01 18:44:27 +01:00
Modules Make AST reading work better with LLVM_APPEND_VC_REV=NO 2020-01-27 22:08:37 -05:00
OpenMP [OPENMP50]Handle lastprivate conditionals passed as shared in inner 2020-01-30 11:35:23 -05:00
PCH [Concepts] Deprecate -fconcepts-ts, enable Concepts under -std=c++2a 2020-01-24 00:48:59 +02:00
Parser [Concepts] Fix isDeclarationSpecifier to detect type-constraints correctly 2020-01-31 20:08:13 +02:00
Preprocessor clang: Only define OBJC_NEW_PROPERTIES when -x objective-c 2020-01-24 14:55:12 -08:00
Profile
Refactor
Rewriter
Sema Revert "[Clang] Warn about 'z' printf modifier in old MSVC." 2020-01-28 09:27:54 -05:00
SemaCUDA
SemaCXX [Sema] Remove a -Wrange warning from -Wall 2020-02-01 18:44:27 +01:00
SemaObjC Revert "[objc_direct] Small updates to help with adoption." 2020-01-30 18:21:25 -08:00
SemaObjCXX Clean up and slightly generalize implementation of composite pointer 2020-01-10 16:12:00 -08:00
SemaOpenCL Add missing clang tests for 6d614a82a4 (AMDGPU MFMA built-ins) 2020-01-28 04:41:21 -05:00
SemaOpenCLCXX Make address-space-lambda.cl pass on 32-bit Windows 2020-01-24 20:35:25 +01:00
SemaSYCL
SemaTemplate [Concepts] Correctly form initial parameter mapping for parameter packs, support substitution into SubstNonTypeTemplateParmExpr 2020-01-31 15:59:42 +02:00
TableGen
Templight
Tooling
Unit
VFS Fix external-names.c test when separator is \\ 2019-12-31 11:15:46 +00:00
clang-rename
.clang-format
CMakeLists.txt [Clang][Driver] Re-use the calling process instead of creating a new process for the cc1 invocation 2020-01-13 10:40:18 -05:00
TestRunner.sh
cxx-sections.data
lit.cfg.py
lit.site.cfg.py.in build: reduce CMake handling for zlib 2020-01-02 11:19:12 -08:00
make_test_dirs.pl