This is an archive of the discontinued LLVM Phabricator instance.

Add macros for accessor functions to ConstantPlaceHolder
Needs ReviewPublic

Authored by rtrieu on Oct 22 2014, 9:06 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

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.

Diff Detail

Event Timeline

rtrieu updated this revision to Diff 15294.Oct 22 2014, 9:06 PM
rtrieu retitled this revision from to Add macros for accessor functions to ConstantPlaceHolder.
rtrieu updated this object.
rtrieu edited the test plan for this revision. (Show Details)
rtrieu added a subscriber: Unknown Object (MLST).