summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorJames Y Knight <jyknight@google.com>2019-01-31 21:51:58 +0000
committerJames Y Knight <jyknight@google.com>2019-01-31 21:51:58 +0000
commitfadf25068e32b44b010e6e03c6ab93bec41eae82 (patch)
tree9b22878f495e0b75d9e86cd01bcf199308dc9234 /llvm/docs
parentc62214da3de04f702e29e4ba4772c9463e2829ca (diff)
downloadbcm5719-llvm-fadf25068e32b44b010e6e03c6ab93bec41eae82.tar.gz
bcm5719-llvm-fadf25068e32b44b010e6e03c6ab93bec41eae82.zip
Revert "[opaque pointer types] Add a FunctionCallee wrapper type, and use it."
This reverts commit f47d6b38c7a61d50db4566b02719de05492dcef1 (r352791). Seems to run into compilation failures with GCC (but not clang, where I tested it). Reverting while I investigate. llvm-svn: 352800
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/ProgrammersManual.rst16
1 files changed, 5 insertions, 11 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 94555d9d4ff..7faba112ffe 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -3491,17 +3491,11 @@ Important Public Members of the ``Module`` class
Look up the specified function in the ``Module`` SymbolTable_. If it does not
exist, return ``null``.
-* ``FunctionCallee getOrInsertFunction(const std::string &Name,
- const FunctionType *T)``
-
- Look up the specified function in the ``Module`` SymbolTable_. If
- it does not exist, add an external declaration for the function and
- return it. Note that the function signature already present may not
- match the requested signature. Thus, in order to enable the common
- usage of passing the result directly to EmitCall, the return type is
- a struct of ``{FunctionType *T, Constant *FunctionPtr}``, rather
- than simply the ``Function*`` with potentially an unexpected
- signature.
+* ``Function *getOrInsertFunction(const std::string &Name, const FunctionType
+ *T)``
+
+ Look up the specified function in the ``Module`` SymbolTable_. If it does not
+ exist, add an external declaration for the function and return it.
* ``std::string getTypeName(const Type *Ty)``
OpenPOWER on IntegriCloud