[PATCH] D84715: [FIX] Add check for empty body function

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 27 23:57:31 PDT 2020


MaskRay added a comment.

Test?



================
Comment at: llvm/include/llvm/Support/GenericDomTreeConstruction.h:534
+
+    if constexpr (std::is_same<
+                      Function *,
----------------
llvm-project currently requires C++14. C++17 extensions can't be used. (As an exception, if init-statement is allowed)


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84715/new/

https://reviews.llvm.org/D84715



More information about the llvm-commits mailing list