aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT/APFloat.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-02-18 23:11:17 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-02-18 23:11:17 +0000
commita39058aaed4540fc37681cad728b99546595b2e8 (patch)
tree6b1e8bd252437c9a1fa0c7b659c94878e9503138 /include/llvm/ADT/APFloat.h
parent82f7815e6f7819223b5f311195bfc1d9645d4754 (diff)
downloadexternal_llvm-a39058aaed4540fc37681cad728b99546595b2e8.zip
external_llvm-a39058aaed4540fc37681cad728b99546595b2e8.tar.gz
external_llvm-a39058aaed4540fc37681cad728b99546595b2e8.tar.bz2
Use LLVM_DELETED_FUNCTION rather than '// do not implement' comments.
Also removes some redundant DNI comments on function declarations already using the macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APFloat.h')
-rw-r--r--include/llvm/ADT/APFloat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/ADT/APFloat.h b/include/llvm/ADT/APFloat.h
index a27f77d..14bcaef 100644
--- a/include/llvm/ADT/APFloat.h
+++ b/include/llvm/ADT/APFloat.h
@@ -300,7 +300,7 @@ namespace llvm {
/* 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
+ bool operator==(const APFloat &) const LLVM_DELETED_FUNCTION;
/* IEEE comparison with another floating point number (NaNs
compare unordered, 0==-0). */