[all-commits] [llvm/llvm-project] 27a3ec: [clang][Modules] Add -fsystem-module flag

Michael Spencer via All-commits all-commits at lists.llvm.org
Tue Mar 3 14:14:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 27a3ecee45584f6e78b46741111ebbbe5554faad
      https://github.com/llvm/llvm-project/commit/27a3ecee45584f6e78b46741111ebbbe5554faad
  Author: Michael Spencer <bigcheesegs at gmail.com>
  Date:   2020-03-03 (Tue, 03 Mar 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/Modules/fsystem-module.m

  Log Message:
  -----------
  [clang][Modules] Add -fsystem-module flag

The -fsystem-module flag is used when explicitly building a module. It
forces the module to be treated as a system module. This is used when
converting an implicit build to an explicit build to match the
systemness the implicit build would have had for a given module.

Differential Revision: https://reviews.llvm.org/D75395




More information about the All-commits mailing list