OSDN Git Service

PR10140 - StringPool's PooledStringPtr has non-const operator== causing bad OR-result.
authorNikola Smiljanic <popizdeh@gmail.com>
Thu, 19 Jun 2014 00:26:49 +0000 (00:26 +0000)
committerNikola Smiljanic <popizdeh@gmail.com>
Thu, 19 Jun 2014 00:26:49 +0000 (00:26 +0000)
commit1260b844fd71720566eabd4cc5738f2abe747871
treeb32fc7b9c50633711f0dca708780174daa5c9ccb
parent887a5c7f5da73ada835985d1f9552ff1716517a7
PR10140 - StringPool's PooledStringPtr has non-const operator== causing bad OR-result.

Mark conversion operator explicit and const qualify comparison operators.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211244 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/StringPool.h
unittests/Support/CMakeLists.txt
unittests/Support/StringPool.cpp [new file with mode: 0644]