[polly] r351808 - Fix/unify top comment in lib/Analysis/PolyhedralInfo.cpp

Michal Gorny via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 04:18:38 PST 2019


Author: mgorny
Date: Tue Jan 22 04:18:38 2019
New Revision: 351808

URL: http://llvm.org/viewvc/llvm-project?rev=351808&view=rev
Log:
Fix/unify top comment in lib/Analysis/PolyhedralInfo.cpp

Change the top comment in PolyhedralInfo.cpp to use // instead of ///,
similarly to headers in other files.  This fixes the issue of copyright
line exceeding textwidth and triggering polly-check-format45 failure,
e.g. seen here:

http://lab.llvm.org:8011/builders/lldb-amd64-ninja-netbsd8/builds/18293/steps/run%20unit%20tests/logs/stdio

Modified:
    polly/trunk/lib/Analysis/PolyhedralInfo.cpp

Modified: polly/trunk/lib/Analysis/PolyhedralInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/PolyhedralInfo.cpp?rev=351808&r1=351807&r2=351808&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/PolyhedralInfo.cpp (original)
+++ polly/trunk/lib/Analysis/PolyhedralInfo.cpp Tue Jan 22 04:18:38 2019
@@ -1,20 +1,21 @@
 //===--------- PolyhedralInfo.cpp  - Create Scops from LLVM IR-------------===//
-///
-/// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
-/// See https://llvm.org/LICENSE.txt for license information.
-/// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-///
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
 //===----------------------------------------------------------------------===//
-///
-/// An interface to the Polyhedral analysis engine(Polly) of LLVM.
-///
-/// This pass provides an interface to the polyhedral analysis performed by
-/// Polly.
-///
-/// This interface provides basic interface like isParallel, isVectorizable
-/// that can be used in LLVM transformation passes.
-///
-/// Work in progress, this file is subject to change.
+//
+// An interface to the Polyhedral analysis engine(Polly) of LLVM.
+//
+// This pass provides an interface to the polyhedral analysis performed by
+// Polly.
+//
+// This interface provides basic interface like isParallel, isVectorizable
+// that can be used in LLVM transformation passes.
+//
+// Work in progress, this file is subject to change.
+//
 //===----------------------------------------------------------------------===//
 
 #include "polly/PolyhedralInfo.h"




More information about the llvm-commits mailing list