[all-commits] [llvm/llvm-project] 0a4a43: [OpenMP] Properly handle the `-f/-fno` veraints fo...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Wed Apr 27 06:59:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0a4a43cf138b929b5280dbe4fcf5f219ca18ae43
https://github.com/llvm/llvm-project/commit/0a4a43cf138b929b5280dbe4fcf5f219ca18ae43
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2022-04-27 (Wed, 27 Apr 2022)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[OpenMP] Properly handle the `-f/-fno` veraints for the new driver
Summary:
We provide the `-f(no-)openmp-new-driver` option to allow users to use
the old or new driver. Previously this wasn't handled in the expected
way and only `-fno-openmp-new-driver` was checked. This patch fixes that
by using the `hasFlag` method as is standard.
More information about the All-commits
mailing list