r275650 - Attempt to fix breakage caused by r275645 for Windows bots.

Samuel Antao via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 15 16:51:22 PDT 2016


Author: sfantao
Date: Fri Jul 15 18:51:21 2016
New Revision: 275650

URL: http://llvm.org/viewvc/llvm-project?rev=275650&view=rev
Log:
Attempt to fix breakage caused by r275645 for Windows bots.

Modified:
    cfe/trunk/include/clang/Driver/Action.h
    cfe/trunk/lib/Driver/Action.cpp

Modified: cfe/trunk/include/clang/Driver/Action.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Action.h?rev=275650&r1=275649&r2=275650&view=diff
==============================================================================
--- cfe/trunk/include/clang/Driver/Action.h (original)
+++ cfe/trunk/include/clang/Driver/Action.h Fri Jul 15 18:51:21 2016
@@ -140,7 +140,8 @@ public:
   std::string getOffloadingKindPrefix() const;
   /// Return a string that can be used as prefix in order to generate unique
   /// files for each offloading kind.
-  std::string getOffloadingFileNamePrefix(StringRef NormalizedTriple) const;
+  std::string
+  getOffloadingFileNamePrefix(llvm::StringRef NormalizedTriple) const;
 
   /// Set the device offload info of this action and propagate it to its
   /// dependences.

Modified: cfe/trunk/lib/Driver/Action.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Action.cpp?rev=275650&r1=275649&r2=275650&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Action.cpp (original)
+++ cfe/trunk/lib/Driver/Action.cpp Fri Jul 15 18:51:21 2016
@@ -104,7 +104,7 @@ std::string Action::getOffloadingKindPre
 }
 
 std::string
-Action::getOffloadingFileNamePrefix(StringRef NormalizedTriple) const {
+Action::getOffloadingFileNamePrefix(llvm::StringRef NormalizedTriple) const {
   // A file prefix is only generated for device actions and consists of the
   // offload kind and triple.
   if (!OffloadingDeviceKind)




More information about the cfe-commits mailing list