From a23e6b321ca623b83252f8b1e06a2ad4fc441f89 Mon Sep 17 00:00:00 2001 From: Yang Fan Date: Wed, 17 Feb 2021 15:26:07 +0800 Subject: [PATCH] [SampleFDO] Fix MSVC "namespace uses itself" warning (NFC) MSVC warning: ``` SampleProfileLoaderBaseImpl.h(41): warning C4515: 'llvm': namespace uses itself ``` --- llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h index eab9869e14e4..5abec6e3b960 100644 --- a/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h +++ b/llvm/include/llvm/Transforms/Utils/SampleProfileLoaderBaseImpl.h @@ -38,7 +38,6 @@ #include "llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h" namespace llvm { -using namespace llvm; using namespace sampleprof; using namespace sampleprofutil; using ProfileCount = Function::ProfileCount;