[PATCH] Add macros for accessor functions to ConstantPlaceHolder

Richard Trieu rtrieu at google.com
Wed Oct 22 21:06:56 PDT 2014


Judging from other derived classes of ConstantExpr, there should accessor functions in ConstantPlaceHolder.  This patch adds the macros that will declare and define these functions.  This also fixes the constructor so that it will not trigger a future -Wuninitialized warning.

http://reviews.llvm.org/D5927

Files:
  lib/Bitcode/Reader/BitcodeReader.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5927.15294.patch
Type: text/x-patch
Size: 618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141023/3824d090/attachment.bin>


More information about the llvm-commits mailing list