aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/IR/Use.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/IR/Use.h')
-rw-r--r--include/llvm/IR/Use.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IR/Use.h b/include/llvm/IR/Use.h
index ff6b2e1f1e22..05b68ccbb38e 100644
--- a/include/llvm/IR/Use.h
+++ b/include/llvm/IR/Use.h
@@ -85,7 +85,7 @@ public:
///
/// For an instruction operand, for example, this will return the
/// instruction.
- User *getUser() const;
+ User *getUser() const LLVM_READONLY;
inline void set(Value *Val);
@@ -111,7 +111,7 @@ public:
static void zap(Use *Start, const Use *Stop, bool del = false);
private:
- const Use *getImpliedUser() const;
+ const Use *getImpliedUser() const LLVM_READONLY;
Value *Val;
Use *Next;