[all-commits] [llvm/llvm-project] 5b77e7: [Driver] Move -nostdinc like options into IncludeP...
Fangrui Song via All-commits
all-commits at lists.llvm.org
Fri Jun 2 09:33:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b77e752dcd073846b89559d6c0e1a7699e58615
https://github.com/llvm/llvm-project/commit/5b77e752dcd073846b89559d6c0e1a7699e58615
Author: Fangrui Song <i at maskray.me>
Date: 2023-06-02 (Fri, 02 Jun 2023)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/linker-opts.c
Log Message:
-----------
[Driver] Move -nostdinc like options into IncludePath_Group
With only a link action, we claim all CompileOnly_Group options (including -f*,
-m*, -i*, etc). It makes sense to claim -nostdinc family options as well.
We can achieve this by placing these options into IncludePath_Group, a derivative of
CompileOnly_Group.
Reviewed By: theuni
Differential Revision: https://reviews.llvm.org/D151944
More information about the All-commits
mailing list