[PATCH] D54736: [CodeView] Mark this pointers as const

Zachary Turner via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 19 17:08:27 PST 2018


zturner created this revision.
zturner added a reviewer: rnk.
Herald added a subscriber: hiraditya.

This is for compatibility with MSVC, which also marks them as const.  This is a break-off of https://reviews.llvm.org/D54667 to try to get rid of some of the boilerplate from the patch.


https://reviews.llvm.org/D54736

Files:
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/test/DebugInfo/COFF/function-options.ll
  llvm/test/DebugInfo/COFF/global-type-hashes.ll
  llvm/test/DebugInfo/COFF/static-methods.ll
  llvm/test/DebugInfo/COFF/type-quals.ll
  llvm/test/DebugInfo/COFF/types-basic.ll
  llvm/test/DebugInfo/COFF/types-calling-conv.ll
  llvm/test/DebugInfo/COFF/types-cvarargs.ll
  llvm/test/DebugInfo/COFF/types-data-members.ll
  llvm/test/DebugInfo/COFF/types-non-virtual-methods.ll
  llvm/test/DebugInfo/COFF/virtual-methods.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54736.174715.patch
Type: text/x-patch
Size: 15794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181120/4eb6f70e/attachment.bin>


More information about the llvm-commits mailing list