[cfe-commits] r152475 - /cfe/trunk/lib/AST/VTableBuilder.cpp

Benjamin Kramer benny.kra at googlemail.com
Fri Mar 9 18:06:27 PST 2012


Author: d0k
Date: Fri Mar  9 20:06:27 2012
New Revision: 152475

URL: http://llvm.org/viewvc/llvm-project?rev=152475&view=rev
Log:
Fix a use of the C99 PRI format macros not to conflict with C++11 UDLs.

Modified:
    cfe/trunk/lib/AST/VTableBuilder.cpp

Modified: cfe/trunk/lib/AST/VTableBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/VTableBuilder.cpp?rev=152475&r1=152474&r2=152475&view=diff
==============================================================================
--- cfe/trunk/lib/AST/VTableBuilder.cpp (original)
+++ cfe/trunk/lib/AST/VTableBuilder.cpp Fri Mar  9 20:06:27 2012
@@ -2136,7 +2136,8 @@
       uint64_t VTableIndex = I->first;
       const std::string &MethodName = I->second;
 
-      Out << llvm::format(" %4"PRIu64" | ", VTableIndex) << MethodName << '\n';
+      Out << llvm::format(" %4" PRIu64 " | ", VTableIndex) << MethodName
+          << '\n';
     }
   }
 





More information about the cfe-commits mailing list