llvm-project/clang/lib
Julius 49e7ef2c09 [Clang]: Diagnose deprecated copy operations also in MSVC compatibility mode
When running in MSVC compatibility mode, previously no deprecated copy
operation warnings (enabled by -Wdeprecated-copy) were raised. This
restriction was already in place when the deprecated copy warning was
first introduced.

This patch removes said restriction so that deprecated copy warnings, if
enabled, are also raised in MSVC compatibility mode. The reasoning here
being that these warnings are still useful when running in MSVC
compatibility mode and also have to be semi-explicitly enabled in the
first place (using -Wdeprecated-copy, -Wdeprecated or -Wextra).

Differential Revision: https://reviews.llvm.org/D133354
2022-09-14 19:48:08 +02:00
..
APINotes
ARCMigrate [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
AST Revert "[clang] template / auto deduction deduces common sugar" 2022-09-13 12:18:07 +02:00
ASTMatchers Revert "ManagedStatic: remove from ASTMatchersInternal.h" 2022-07-27 15:46:21 +02:00
Analysis [NFC] Remove a FIXME fixed by an earlier patch. 2022-09-09 17:13:52 +00:00
Basic [Linux] Hack around Linux/sparc <bits/stdio-ldbl.h> 2022-09-10 09:37:35 +02:00
CodeGen Remove some unused static functions in CGOpenMPRuntimeGPU.cpp, NFC 2022-09-14 17:20:02 +02:00
CrossTU Fixed a number of typos 2022-08-01 13:13:18 -04:00
DirectoryWatcher [clang] fix deprecation 2022-08-09 17:42:55 +02:00
Driver Revert "[clang] fix generation of .debug_aranges with LTO" 2022-09-14 12:43:24 -04:00
Edit [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
ExtractAPI [clang][ExtractAPI] Record availability information on all platforms 2022-08-19 14:54:52 -07:00
Format [clang-format] Don't insert braces for loops with a null statement 2022-09-12 00:37:47 -07:00
Frontend [OpenMP] Remove simplified device runtime handling 2022-09-14 09:41:50 -05:00
FrontendTool [C++20][Modules][HU 1/5] Introduce header units as a module type. 2022-03-25 09:17:14 +00:00
Headers [OpenCL] Guard depth image builtins 2022-09-13 10:10:48 +01:00
Index [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
IndexSerialization
Interpreter [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
Lex [Lex/DependencyDirectivesScanner] Handle the case where the source line starts with a `tok::hashhash` 2022-09-13 15:48:50 -07:00
Parse [clang] Use std::size instead of llvm::array_lengthof 2022-09-08 17:20:25 -06:00
Rewrite [clang] LLVM_FALLTHROUGH => [[fallthrough]]. NFC 2022-08-08 09:12:46 -07:00
Sema [Clang]: Diagnose deprecated copy operations also in MSVC compatibility mode 2022-09-14 19:48:08 +02:00
Serialization [clang] sort additional module maps when serializing 2022-09-12 12:00:43 -07:00
StaticAnalyzer [analyzer] Dump the environment entry kind as well 2022-09-13 09:04:27 +02:00
Support [RISCV][Clang] Support policy function for all vector segment load. 2022-08-04 17:47:24 +00:00
Testing [include-cleaner] Include-cleaner library structure, and simplistic AST walking. 2022-04-29 11:04:11 +02:00
Tooling [clang] Qualify auto in range-based for loops (NFC) 2022-09-03 23:27:27 -07:00
CMakeLists.txt [RISCV] Moving RVV intrinsic type related util to clang/Support 2022-04-20 21:13:13 +08:00