[all-commits] [llvm/llvm-project] 583499: [Frontend] Add flag to allow PCM generation despit...

Ben Barham via All-commits all-commits at lists.llvm.org
Tue Nov 17 17:30:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5834996fefc937d6211dc8c8a5b200068753391a
      https://github.com/llvm/llvm-project/commit/5834996fefc937d6211dc8c8a5b200068753391a
  Author: Ben Barham <ben_barham at apple.com>
  Date:   2020-11-17 (Tue, 17 Nov 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/include/clang/Frontend/ASTUnit.h
    M clang/include/clang/Frontend/FrontendActions.h
    M clang/include/clang/Frontend/FrontendOptions.h
    M clang/lib/Frontend/ASTUnit.cpp
    M clang/lib/Frontend/CompilerInstance.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Frontend/FrontendActions.cpp
    A clang/test/Modules/Inputs/error.h
    M clang/test/Modules/Inputs/module.map
    A clang/test/Modules/load-module-with-errors.m
    M clang/tools/c-index-test/core_main.cpp
    M clang/tools/libclang/CIndex.cpp

  Log Message:
  -----------
  [Frontend] Add flag to allow PCM generation despite compiler errors

As with precompiled headers, it's useful for indexers to be able to
continue through compiler errors in dependent modules.

Resolves rdar://69816264

Reviewed By: akyrtzi

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




More information about the All-commits mailing list