Refactor UnaryOperator class
authorCameron McInally <cameron.mcinally@nyu.edu>
Tue, 7 May 2019 00:10:12 +0000 (00:10 +0000)
committerCameron McInally <cameron.mcinally@nyu.edu>
Tue, 7 May 2019 00:10:12 +0000 (00:10 +0000)
commit25afc8ad0773b064d4e4361c58c12374638e4280
tree0b06b45829a0ef2d6d6fd5aa2744f66b9b80f247
parenta75630302dd04cd83021c346263d6a19295fd7cf
Refactor UnaryOperator class

The UnaryOperator class was originally placed in llvm/IR/Instructions.h, with the other UnaryInstructions. However, I'm now thinking that it makes more sense for it to live in llvm/IR/InstrTypes.h, with BinaryOperator. It is more similar to BinaryOperator than any of the other UnaryInstructions.

NFCI

Differential Revision: https://reviews.llvm.org/D61614

llvm-svn: 360103
llvm/include/llvm/IR/InstrTypes.h
llvm/include/llvm/IR/Instructions.h