aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Function.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2012-05-12 08:30:16 +0000
committerJay Foad <jay.foad@gmail.com>2012-05-12 08:30:16 +0000
commitb7454fd9df0b477e3daf2fce6e1d5e1b241562df (patch)
treebb926d40337ccaa32dd4cc1e7318545ec34add08 /include/llvm/Function.h
parent2b38c12643236825a6a49c31ef49da8e62b094c2 (diff)
Teach Function::hasAddressTaken that BlockAddress doesn't really take
the address of a function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156703 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Function.h')
-rw-r--r--include/llvm/Function.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Function.h b/include/llvm/Function.h
index e17cd87fe3..fdd90d1d8f 100644
--- a/include/llvm/Function.h
+++ b/include/llvm/Function.h
@@ -420,8 +420,8 @@ public:
void dropAllReferences();
/// hasAddressTaken - returns true if there are any uses of this function
- /// other than direct calls or invokes to it. Optionally passes back the
- /// offending user for diagnostic purposes.
+ /// other than direct calls or invokes to it, or blockaddress expressions.
+ /// Optionally passes back an offending user for diagnostic purposes.
///
bool hasAddressTaken(const User** = 0) const;