[clang] prevent crash for nonnull attribut in constant context (Bug 43601)
authorGauthier Harnisch <tyker1@outlook.com>
Thu, 10 Oct 2019 07:13:20 +0000 (07:13 +0000)
committerGauthier Harnisch <tyker1@outlook.com>
Thu, 10 Oct 2019 07:13:20 +0000 (07:13 +0000)
commit59c6df9b2c52807d16123e6cef64d5d937b4e697
treeac16d48811e3caa9b6947c8199270b01e7a630c6
parent12994a70cf798eec60a236d81bb5618a2674fccf
[clang] prevent crash for nonnull attribut in constant context (Bug 43601)

Summary:

bug : https://bugs.llvm.org/show_bug.cgi?id=43601

Reviewers: rnk

Reviewed By: rnk

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D68716

llvm-svn: 374285
clang/lib/AST/ExprConstant.cpp
clang/test/SemaCXX/attr-nonnull.cpp