[llvm-commits] [llvm] r41378 - in /llvm/trunk: include/llvm/ADT/APFloat.h lib/CodeGen/SelectionDAG/SelectionDAG.cpp lib/Support/APFloat.cpp lib/VMCore/Constants.cpp
Chris Lattner
clattner at apple.com
Fri Aug 24 16:03:07 PDT 2007
>
> + /* The definition of equality is not straightforward for
> floating point,
> + so we won't use operator==. Use one of the following, or
> write
> + whatever it is you really mean. */
> + bool operator==(const APFloat &) const; // DO NOT IMPLEMENT
Hey Dale,
I think that you can just remove this and the compiler will give you
a compile-time error if you try to use it. If you define it like
this, you just get a link-time error.
-Chris
More information about the llvm-commits
mailing list