llvm-project/clang/test
Eli Friedman 795f67934d [Sema] Don't treat a non-null template argument as if it were null.
The way this code checks whether a pointer is null is wrong for other
reasons; it doesn't actually check whether a null pointer constant is a
"constant" in the C++ standard sense.  But this fix at least makes sure
we don't treat a non-null pointer as if it were null.

Fixes https://github.com/llvm/llvm-project/issues/57883

Differential Revision: https://reviews.llvm.org/D134928
2022-10-19 14:40:52 -07:00
..
APINotes
ARCMT
AST [clang] Track the templated entity in type substitution. 2022-10-15 22:08:36 +02:00
ASTMerge
Analysis [analyzer] Make directly bounded LazyCompoundVal as lazily copied 2022-10-19 16:06:32 +02:00
C [C2x] Implement support for nullptr and nullptr_t 2022-10-14 10:06:02 -04:00
CXX [Sema] Don't treat a non-null template argument as if it were null. 2022-10-19 14:40:52 -07:00
ClangScanDeps [clang][deps] Remove unintentional `move` 2022-10-18 16:40:31 -07:00
CodeCompletion [clang][DR2621] using enum NAME lookup fix 2022-09-28 08:50:27 -07:00
CodeGen [X86][RFC] Using `__bf16` for AVX512_BF16 intrinsics 2022-10-19 23:47:04 +08:00
CodeGenCUDA Do not append terminating NUL to the binary string with embedded fatbin. 2022-10-17 15:39:39 -07:00
CodeGenCUDASPIRV
CodeGenCXX [NFC] Add missing ABI requirement from the previous patch 2022-10-18 13:16:04 +08:00
CodeGenCoroutines [C++] [Coroutines] Prefer aligned (de)allocation for coroutines - 2022-09-22 11:28:29 +08:00
CodeGenHIP
CodeGenHLSL Move HLSL builtins into hlsl namespace 2022-10-19 10:59:31 -05:00
CodeGenObjC [CodeGen][ObjC] Call synthesized copy constructor/assignment operator 2022-10-14 10:40:24 -07:00
CodeGenObjCXX
CodeGenOpenCL AMDGPU: Add __builtin_amdgcn_permlane64 2022-10-13 21:12:11 -07:00
CodeGenOpenCLCXX
CodeGenSYCL
Coverage
CoverageMapping [InstrProfiling] No runtime hook for unused funcs 2022-09-16 02:05:09 +00:00
Driver [clang][LTO] Setting Desired Default AIX Debugging Options 2022-10-18 10:43:19 -04:00
ExtractAPI Fix the ExtractAPI tests 2022-10-14 08:58:16 -04:00
FixIt [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
Format [test] Use host platform specific error message substitution 2022-09-16 15:13:45 -04:00
Frontend Fix clang version check in SARIF diagnostics test 2022-10-13 15:16:58 -04:00
Headers [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
Import
Index Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
Integration
InterfaceStubs [clang] [test] Use %clang_cc1 substitution consistently 2022-09-29 20:59:00 +02:00
Interpreter [CodeGen] Track DeferredDecls that have been emitted 2022-08-27 22:32:47 +08:00
Layout [Sema] Reject array element types whose sizes aren't a multiple of their 2022-09-21 09:15:03 -07:00
Lexer Revert "Revert "[clang][Lex] Fix a crash on malformed string literals"" 2022-10-06 11:41:18 +02:00
LibClang
Misc [clang][macho] Add support for -darwin-target-variant-sdk-version in cc1as 2022-10-14 14:33:10 -07:00
Modules [ODRHash] Hash `ObjCMethodDecl` and diagnose discovered mismatches. 2022-10-17 18:48:24 -07:00
OpenMP [OpenMP] Make kernels have protected visibility 2022-10-18 16:37:28 -05:00
PCH [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
Parser [clang] Fix crash upon stray coloncolon token in C2x mode 2022-10-18 21:57:32 +08:00
ParserHLSL [HLSL] Support cbuffer/tbuffer for hlsl. 2022-09-21 10:07:43 -07:00
ParserSYCL
Preprocessor [clang][ARM] follow GCC behavior for defining __SOFTFP__ 2022-10-18 14:38:03 +01:00
Profile [PGO] Consider parent context when weighing branches with likelyhood. 2022-10-08 23:49:27 +02:00
Refactor
Rewriter Fix -Wbitfield-constant-conversion on 1-bit signed bitfield 2022-08-09 11:43:50 -04:00
Sema [clang testing] Unbreak read-only source builds 2022-10-18 12:47:12 -04:00
SemaCUDA
SemaCXX [Clang] Fix crash when checking misaligned member with dependent type 2022-10-18 21:05:49 +08:00
SemaHLSL Move HLSL builtins into hlsl namespace 2022-10-19 10:59:31 -05:00
SemaObjC [clang] Unify Sema and CodeGen implementation of isFlexibleArrayMemberExpr 2022-10-04 20:42:36 +02:00
SemaObjCXX Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
SemaOpenCL AMDGPU: Add __builtin_amdgcn_permlane64 2022-10-13 21:12:11 -07:00
SemaOpenCLCXX
SemaSYCL [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
SemaTemplate [Clang] constraints partial ordering should work with deduction guide 2022-10-18 17:30:47 -07:00
TableGen [TableGen] Track reference locations of Records/RecordVals 2022-09-27 23:48:16 -07:00
Templight Properly print unnamed TagDecl objects in diagnostics 2022-10-14 08:18:28 -04:00
Tooling
Unit [clang] [Driver] Disable default configs via envvar during testing 2022-09-30 09:11:50 +02:00
VFS
clang-rename
utils/update_cc_test_checks Revert "[OpenMP] Codegen aggregate for outlined function captures" 2022-09-15 03:08:46 +00:00
.clang-format
CMakeLists.txt [clang] Remove CLANG_ENABLE_OPAQUE_POINTERS cmake option 2022-10-06 09:46:04 +02:00
TestRunner.sh
lit.cfg.py [CMake] Remove CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX 2022-10-16 13:15:44 -07:00
lit.site.cfg.py.in [CMake] Remove CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX 2022-10-16 13:15:44 -07:00