[PATCH] D78306: [flang] Use LLVM's flags

Isuru Fernando via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 11:08:55 PDT 2020


isuruf marked an inline comment as done.
isuruf added inline comments.


================
Comment at: flang/CMakeLists.txt:239
-# Add global F18 flags.
-set(CMAKE_CXX_FLAGS "-fno-rtti -fno-exceptions -pedantic -Wall -Wextra -Werror -Wcast-qual -Wimplicit-fallthrough -Wdelete-non-virtual-dtor ${CMAKE_CXX_FLAGS}")
-
----------------
tskeith wrote:
> `-pedantic` should still be included in the compilation options.
There's an option `LLVM_ENABLE_PEDANTIC` which is enabled by default.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78306





More information about the llvm-commits mailing list