[Lldb-commits] [PATCH] D112374: [clang] Implement ElaboratedType sugaring for types written bare

NAKAMURA Takumi via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jul 14 20:47:59 PDT 2022


chapuni added inline comments.


================
Comment at: clang/lib/Sema/TypeLocBuilder.cpp:159
 
-  assert(Capacity - Index == TypeLoc::getFullDataSizeForType(T) &&
+  unsigned FDSz = TypeLoc::getFullDataSizeForType(T);
+  assert(Capacity - Index == FDSz &&
----------------
It causes a warning with -Asserts. May be rolled back.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112374/new/

https://reviews.llvm.org/D112374



More information about the lldb-commits mailing list