summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/CFG.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CFG.h b/llvm/include/llvm/Support/CFG.h
index 0a58104ee4f..26616dbb7a0 100644
--- a/llvm/include/llvm/Support/CFG.h
+++ b/llvm/include/llvm/Support/CFG.h
@@ -114,7 +114,7 @@ public:
/// getSuccessorIndex - This is used to interface between code that wants to
/// operate on terminator instructions directly.
- unsigned getSuccessorIndex() const { return Idx; }
+ unsigned getSuccessorIndex() const { return idx; }
inline bool operator==(const _Self& x) const { return idx == x.idx; }
inline bool operator!=(const _Self& x) const { return !operator==(x); }
OpenPOWER on IntegriCloud