[PATCH] D39683: [Polly] Fix using order, as this caused a test failure (NFC)

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 06:09:06 PST 2017


fhahn created this revision.
Herald added a reviewer: bollu.

Without this patch, clang-format in check-polly fails for me, with current master:

  FAILED: cd build/tools/polly && build/bin/clang-format -sort-includes -style=llvm llvm/tools/polly/include/polly/ScopPass.h | diff -u llvm/tools/polly/include/polly/ScopPass.h -
  --- llvm/tools/polly/include/polly/ScopPass.h	2017-11-06 14:05:49.885345000 +0000
  +++ -	2017-11-06 14:07:24.956241758 +0000
  @@ -40,12 +40,12 @@
   } // namespace polly
  
   namespace llvm {
  +using polly::SPMUpdater;
   using polly::Scop;
   using polly::ScopAnalysisManager;
   using polly::ScopAnalysisManagerFunctionProxy;
   using polly::ScopInfo;
   using polly::ScopStandardAnalysisResults;
  -using polly::SPMUpdater;
  
   template <>
   class InnerAnalysisManagerProxy<ScopAnalysisManager, Function>::Result {


https://reviews.llvm.org/D39683

Files:
  include/polly/ScopPass.h


Index: include/polly/ScopPass.h
===================================================================
--- include/polly/ScopPass.h
+++ include/polly/ScopPass.h
@@ -40,12 +40,12 @@
 } // namespace polly

 namespace llvm {
+using polly::SPMUpdater;
 using polly::Scop;
 using polly::ScopAnalysisManager;
 using polly::ScopAnalysisManagerFunctionProxy;
 using polly::ScopInfo;
 using polly::ScopStandardAnalysisResults;
-using polly::SPMUpdater;

 template <>
 class InnerAnalysisManagerProxy<ScopAnalysisManager, Function>::Result { 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39683.121727.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171106/5fe24474/attachment.bin>


More information about the llvm-commits mailing list