[llvm] r232630 - clang-format these lines to fix Visual C++ warning.

Yaron Keren yaron.keren at gmail.com
Wed Mar 18 05:50:00 PDT 2015


Author: yrnkrn
Date: Wed Mar 18 07:50:00 2015
New Revision: 232630

URL: http://llvm.org/viewvc/llvm-project?rev=232630&view=rev
Log:
clang-format these lines to fix Visual C++ warning.

Visual C++ 2013 complains "warning C4138: '*/' found outside of comment"
about the code

 CallInst */*CI*/

but compiles OK. clang-formatting these lines adds an extra space and
makes Visual C++ satisfied.


Modified:
    llvm/trunk/include/llvm/Target/TargetLowering.h

Modified: llvm/trunk/include/llvm/Target/TargetLowering.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetLowering.h?rev=232630&r1=232629&r2=232630&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetLowering.h (original)
+++ llvm/trunk/include/llvm/Target/TargetLowering.h Wed Mar 18 07:50:00 2015
@@ -980,8 +980,8 @@ public:
   /// the object whose address is being passed. If so then MinSize is set to the
   /// minimum size the object must be to be aligned and PrefAlign is set to the
   /// preferred alignment.
-  virtual bool shouldAlignPointerArgs(CallInst */*CI*/, unsigned &/*MinSize*/,
-                                      unsigned &/*PrefAlign*/) const {
+  virtual bool shouldAlignPointerArgs(CallInst * /*CI*/, unsigned & /*MinSize*/,
+                                      unsigned & /*PrefAlign*/) const {
     return false;
   }
 





More information about the llvm-commits mailing list