diff options
Diffstat (limited to 'include/llvm/Metadata.h')
-rw-r--r-- | include/llvm/Metadata.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Metadata.h b/include/llvm/Metadata.h index f64978cab4..8766ea8003 100644 --- a/include/llvm/Metadata.h +++ b/include/llvm/Metadata.h @@ -156,7 +156,7 @@ public: // function-local operand, return the first such operand's parent function. // Otherwise, return null. getFunction() should not be used for performance- // critical code because it recursively visits all the MDNode's operands. - Function *getFunction() const; + const Function *getFunction() const; // destroy - Delete this node. Only when there are no uses. void destroy(); |