[all-commits] [llvm/llvm-project] 0bf2da: [NFC] Adjust SmallVector.h header to workaround XL...

xling-liao via All-commits all-commits at lists.llvm.org
Fri Mar 12 19:43:43 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0bf2da53c12b3d2bf213f667af74059280a0d661
      https://github.com/llvm/llvm-project/commit/0bf2da53c12b3d2bf213f667af74059280a0d661
  Author: xling-Liao <Xiangling.Liao at ibm.com>
  Date:   2021-03-12 (Fri, 12 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/LLVM.h
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp

  Log Message:
  -----------
  [NFC] Adjust SmallVector.h header to workaround XL build compiler issue

In order to prevent further building issues related to the usage of SmallVector
in other compilation unit, this patch adjusts the llvm.h header as a workaround
instead.

Besides, this patch reverts previous workarounds:

1. Revert "[NFC] Use llvm::SmallVector to workaround XL compiler problem on AIX"
This reverts commit 561fb7f60ab631e712c3fb6bbeb47061222c6818.

2.Revert "[clang][cli] Fix build failure in CompilerInvocation"
This reverts commit 8dc70bdcd0fe4efb65876dce0144d9c3386a2f07.

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




More information about the All-commits mailing list