projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30f16b2
)
[IR] Mark Use::getUser and Use::getImpliedUse as LLVM_READONLY.
author
Craig Topper
<craig.topper@gmail.com>
Thu, 23 Mar 2017 05:25:25 +0000
(
05:25
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Thu, 23 Mar 2017 05:25:25 +0000
(
05:25
+0000)
llvm-svn: 298578
llvm/include/llvm/IR/Use.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/IR/Use.h
b/llvm/include/llvm/IR/Use.h
index
ff6b2e1
..
05b68cc
100644
(file)
--- a/
llvm/include/llvm/IR/Use.h
+++ b/
llvm/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;