[llvm] 205e8b7 - [X86] Make the X86ProcFamilyEnum private to X86Subtarget. Removed unneeded 'protected' from X86Subtarget. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 23 23:44:29 PDT 2020
Author: Craig Topper
Date: 2020-07-23T23:42:11-07:00
New Revision: 205e8b7e89e46e51909a3270b94f277a4c8863aa
URL: https://github.com/llvm/llvm-project/commit/205e8b7e89e46e51909a3270b94f277a4c8863aa
DIFF: https://github.com/llvm/llvm-project/commit/205e8b7e89e46e51909a3270b94f277a4c8863aa.diff
LOG: [X86] Make the X86ProcFamilyEnum private to X86Subtarget. Removed unneeded 'protected' from X86Subtarget. NFC
Added:
Modified:
llvm/lib/Target/X86/X86Subtarget.h
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h
index b48f5f474bcf..6f6823dea8ff 100644
--- a/llvm/lib/Target/X86/X86Subtarget.h
+++ b/llvm/lib/Target/X86/X86Subtarget.h
@@ -50,7 +50,6 @@ enum class Style {
} // end namespace PICStyles
class X86Subtarget final : public X86GenSubtargetInfo {
-public:
// NOTE: Do not add anything new to this list. Coarse, CPU name based flags
// are not a good idea. We should be migrating away from these.
enum X86ProcFamilyEnum {
@@ -59,7 +58,6 @@ class X86Subtarget final : public X86GenSubtargetInfo {
IntelSLM
};
-protected:
enum X86SSEEnum {
NoSSE, SSE1, SSE2, SSE3, SSSE3, SSE41, SSE42, AVX, AVX2, AVX512F
};
More information about the llvm-commits
mailing list