aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTyker <tyker1@outlook.com>2020-02-04 19:23:33 +0100
committerTyker <tyker1@outlook.com>2020-02-04 20:38:32 +0100
commit008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d (patch)
treef52699ed292cf13ef658f73f9273d9483fa90100 /clang/lib/Frontend/CompilerInvocation.cpp
parent64a8e1b83e14836f97dab4d28dae498e897804e6 (diff)
downloadllvm-008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d.zip
llvm-008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d.tar.gz
llvm-008e7bf92343b8bd6ebade5b3ddcfe4bb4e29f8d.tar.bz2
[C++20] Add consteval-specific semantic for functions
Summary: Changes: - Calls to consteval function are now evaluated in constant context but IR is still generated for them. - Add diagnostic for taking address of a consteval function in non-constexpr context. - Add diagnostic for address of consteval function accessible at runtime. - Add tests Reviewers: rsmith, aaron.ballman Reviewed By: rsmith Subscribers: mgrang, riccibruno, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D63960
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions