seanyoung created this revision. seanyoung added reviewers: erichkeane, jtmott-intel. seanyoung added a project: clang. seanyoung requested review of this revision. Herald added a subscriber: cfe-commits.
I need to use _ExtInt on the BPF target. Simply switching it on seems to work fine. I'm a not sure if anything else is needed. Please let me know if there is anything I can improve. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D93103 Files: clang/lib/Basic/Targets/BPF.h Index: clang/lib/Basic/Targets/BPF.h =================================================================== --- clang/lib/Basic/Targets/BPF.h +++ clang/lib/Basic/Targets/BPF.h @@ -96,6 +96,8 @@ StringRef CPUName(Name); return isValidCPUName(CPUName); } + + bool hasExtIntType() const override { return true; } }; } // namespace targets } // namespace clang
Index: clang/lib/Basic/Targets/BPF.h =================================================================== --- clang/lib/Basic/Targets/BPF.h +++ clang/lib/Basic/Targets/BPF.h @@ -96,6 +96,8 @@ StringRef CPUName(Name); return isValidCPUName(CPUName); } + + bool hasExtIntType() const override { return true; } }; } // namespace targets } // namespace clang
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits