diff options
author | Gabor Greif <ggreif@gmail.com> | 2010-03-16 10:59:48 +0000 |
---|---|---|
committer | Gabor Greif <ggreif@gmail.com> | 2010-03-16 10:59:48 +0000 |
commit | 138acfe353ed8b895de093a4c118b01093b6fbfb (patch) | |
tree | c4bbb54c4fa0c7e99fb9d5b7af89a92bc82d870a /include/llvm/Instructions.h | |
parent | 5a7069a80fee26490b201cb3d88eb124585bd6c8 (diff) | |
download | llvm-138acfe353ed8b895de093a4c118b01093b6fbfb.tar.gz llvm-138acfe353ed8b895de093a4c118b01093b6fbfb.tar.bz2 llvm-138acfe353ed8b895de093a4c118b01093b6fbfb.tar.xz |
fix PR6589
adjusted unittest
I have added some doxygen to OptionalOperandTraits,
so hopefully there will be no confusion in the future.
Incidentally OptionalOperandTraits is not used any more (IIUC),
but the obvious client would be BranchInstr, and I plan
to rearrange it that way.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98624 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Instructions.h')
-rw-r--r-- | include/llvm/Instructions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Instructions.h b/include/llvm/Instructions.h index f07291cc62..80b7ca4f82 100644 --- a/include/llvm/Instructions.h +++ b/include/llvm/Instructions.h @@ -1984,7 +1984,7 @@ public: }; template <> -struct OperandTraits<ReturnInst> : public OptionalOperandTraits<> { +struct OperandTraits<ReturnInst> : public VariadicOperandTraits<> { }; DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ReturnInst, Value) |