Xiangling_L created this revision. Xiangling_L added reviewers: rzurob, hubert.reinterpretcast, jsji, lei, cebowleratibm. Herald added a subscriber: dexonsmith. Xiangling_L requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
Previously we delivered a patch to workaround the building issue related to SmallVector here: https://reviews.llvm.org/D98265. But in order to prevent further building issues related to the usage of it in other compilation unit, this patch adjusts the `llvm.h` header as a workaround instead. We will further investigate the real problem of build compiler as a follow-up. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D98552 Files: clang/include/clang/Basic/LLVM.h Index: clang/include/clang/Basic/LLVM.h =================================================================== --- clang/include/clang/Basic/LLVM.h +++ clang/include/clang/Basic/LLVM.h @@ -22,6 +22,8 @@ // None.h includes an enumerator that is desired & cannot be forward declared // without a definition of NoneType. #include "llvm/ADT/None.h" +// Add this header as a workaround to unblock the XL build compiler issue. +#include "llvm/ADT/SmallVector.h" namespace llvm { // ADT's.
Index: clang/include/clang/Basic/LLVM.h =================================================================== --- clang/include/clang/Basic/LLVM.h +++ clang/include/clang/Basic/LLVM.h @@ -22,6 +22,8 @@ // None.h includes an enumerator that is desired & cannot be forward declared // without a definition of NoneType. #include "llvm/ADT/None.h" +// Add this header as a workaround to unblock the XL build compiler issue. +#include "llvm/ADT/SmallVector.h" namespace llvm { // ADT's.
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits