diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-09 06:22:58 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-09 06:22:58 +0000 |
commit | 3e07f8a03d85956013cd9e9b100ac274f44f3f34 (patch) | |
tree | a3e0b34ce17d07d924318c8a235d21fe62039f49 /include/llvm/DebugInfo | |
parent | ed8ba2e58e6ad9069feeba7bfca60b8873d23743 (diff) | |
download | llvm-3e07f8a03d85956013cd9e9b100ac274f44f3f34.tar.gz llvm-3e07f8a03d85956013cd9e9b100ac274f44f3f34.tar.bz2 llvm-3e07f8a03d85956013cd9e9b100ac274f44f3f34.tar.xz |
Revert "Clean up SmallString a bit"
This reverts commit r203374.
Ambiguities in assign... oh well. I'm just going to revert this and
probably not try to recommit it as it's not terribly important.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203375 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/DebugInfo')
-rw-r--r-- | include/llvm/DebugInfo/DIContext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/DebugInfo/DIContext.h b/include/llvm/DebugInfo/DIContext.h index c20f1ea450..f04dc001f4 100644 --- a/include/llvm/DebugInfo/DIContext.h +++ b/include/llvm/DebugInfo/DIContext.h @@ -50,7 +50,8 @@ public: bool operator==(const DILineInfo &RHS) const { return Line == RHS.Line && Column == RHS.Column && - FileName == RHS.FileName && FunctionName == RHS.FunctionName; + FileName.equals(RHS.FileName) && + FunctionName.equals(RHS.FunctionName); } bool operator!=(const DILineInfo &RHS) const { return !(*this == RHS); |