llvm-project/clang/test/CXX
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
..
basic [C++2a] P0634r3: Down with typename! 2022-09-28 09:50:19 -07:00
class [clang] Add fix-it note to defaulted-function-deleted warning 2022-10-04 19:38:10 +01:00
class.access [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
class.derived [clang] Add fix-it note to defaulted-function-deleted warning 2022-10-04 19:38:10 +01:00
conv [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
cpp [clang][WebAssemmbly] Call TargetInfo::adjust in derived method. 2022-02-10 16:04:06 -08:00
dcl [Clang] make canonical AutoType constraints-free 2022-10-04 11:56:03 -07:00
dcl.dcl [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
dcl.decl [Clang] Avoid crashes when parsing using enum declarations 2022-08-27 15:18:36 -07:00
drs [Clang] update cxx_dr_status.html by running make_cxx_dr_status 2022-10-18 11:45:40 -07:00
except [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
expr Implement DR2565: Invalid types in the parameter-declaration-clause of a 2022-10-04 10:32:48 -07:00
lex Add type information to integral template argument if required. 2021-05-12 19:00:08 +00:00
module Add missing `struct` keyword to the test p2-2.cpp 2022-09-28 09:48:00 -07:00
modules-ts [C++20] [Module] Support reachable definition initially/partially 2022-06-29 12:48:48 +08:00
over [C++20] Implement P2113R0: Changes to the Partial Ordering of Constrained Functions 2022-10-18 11:58:57 -07:00
special [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
stmt.stmt [test] Make tests pass regardless of gnu++14/gnu++17 default 2022-09-04 05:29:32 +00:00
temp [Sema] Don't treat a non-null template argument as if it were null. 2022-10-19 14:40:52 -07:00