[clang] fd71493 - Add missing namespace to PPCLinux.cpp

Sylvestre Ledru via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 27 00:26:55 PST 2022


Author: Mike Hommey
Date: 2022-01-27T09:26:46+01:00
New Revision: fd71493ff0602d7d81763263df2f2074fe0db094

URL: https://github.com/llvm/llvm-project/commit/fd71493ff0602d7d81763263df2f2074fe0db094
DIFF: https://github.com/llvm/llvm-project/commit/fd71493ff0602d7d81763263df2f2074fe0db094.diff

LOG: Add missing namespace to PPCLinux.cpp

This fixes a build failure with MSVC introduced in
https://reviews.llvm.org/D112906

Reviewed By: nemanjai

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

Added: 
    

Modified: 
    clang/lib/Driver/ToolChains/PPCLinux.cpp

Removed: 
    


################################################################################
diff  --git a/clang/lib/Driver/ToolChains/PPCLinux.cpp b/clang/lib/Driver/ToolChains/PPCLinux.cpp
index e5e1aa06f4b1d..e480d8bd8703c 100644
--- a/clang/lib/Driver/ToolChains/PPCLinux.cpp
+++ b/clang/lib/Driver/ToolChains/PPCLinux.cpp
@@ -13,6 +13,7 @@
 #include "llvm/Support/FileSystem.h"
 #include "llvm/Support/Path.h"
 
+using namespace clang::driver;
 using namespace clang::driver::toolchains;
 using namespace llvm::opt;
 using namespace llvm::sys;


        


More information about the cfe-commits mailing list