[PATCH] D11859: Generating vptr assume loads

Piotr Padlewski via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 10 19:45:25 PDT 2015


Prazek added inline comments.

================
Comment at: lib/CodeGen/CGClass.cpp:1842
@@ +1841,3 @@
+      CGM.getCXXABI().getVTableAddressPoint(vptr.Base, vptr.VTableClass);
+  if (!VTableGlobal) return;
+
----------------
djasper wrote:
> Prazek wrote:
> > majnemer wrote:
> > > The return should be on it's own line, please clang-format this.
> > > Also, under which conditions is this case possible?
> > Unfortunatelly clang-format puts short instructions in the same line
> Not, it doesn't. At least not if you properly configure LLVM style.
So mb I am doing something wrong, but I am using git-clang-format and get things like this


http://reviews.llvm.org/D11859





More information about the cfe-commits mailing list