aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/ADT
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-24 07:12:20 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-24 07:12:20 +0000
commit6ed16078d522dc32b83aeaff73710b1706622401 (patch)
tree56dc25024c07169ed33b7b0ba4842e68ae5e0860 /include/llvm/ADT
parenta2f6ef53fa8033eeb2a632fdf7b629cf949c7748 (diff)
downloadexternal_llvm-6ed16078d522dc32b83aeaff73710b1706622401.zip
external_llvm-6ed16078d522dc32b83aeaff73710b1706622401.tar.gz
external_llvm-6ed16078d522dc32b83aeaff73710b1706622401.tar.bz2
Fix constructor types
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76958 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT')
-rw-r--r--include/llvm/ADT/Twine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/ADT/Twine.h b/include/llvm/ADT/Twine.h
index 1a64d0a..93ff52c 100644
--- a/include/llvm/ADT/Twine.h
+++ b/include/llvm/ADT/Twine.h
@@ -125,8 +125,8 @@ namespace llvm {
}
/// Construct a twine from explicit values.
- explicit Twine(const void *_LHS, unsigned _LHSKind,
- const void *_RHS, unsigned _RHSKind)
+ explicit Twine(const void *_LHS, NodeKind _LHSKind,
+ const void *_RHS, NodeKind _RHSKind)
: LHS(_LHS), RHS(_RHS), LHSKind(_LHSKind), RHSKind(_RHSKind) {
assert(isValid() && "Invalid twine!");
}