fix PR6589
authorGabor Greif <ggreif@gmail.com>
Tue, 16 Mar 2010 10:59:48 +0000 (10:59 +0000)
committerGabor Greif <ggreif@gmail.com>
Tue, 16 Mar 2010 10:59:48 +0000 (10:59 +0000)
commit138acfe353ed8b895de093a4c118b01093b6fbfb
treec4bbb54c4fa0c7e99fb9d5b7af89a92bc82d870a
parent5a7069a80fee26490b201cb3d88eb124585bd6c8
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
include/llvm/Instructions.h
include/llvm/OperandTraits.h
unittests/VMCore/InstructionsTest.cpp