]> granicus.if.org Git - clang/commit
Don't compare llvm::Optional<> objects directly; compare their
authorDouglas Gregor <dgregor@apple.com>
Fri, 11 Feb 2011 18:08:15 +0000 (18:08 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 11 Feb 2011 18:08:15 +0000 (18:08 +0000)
commitb7a1841244418b658bcf64573ff0c00867fb9c5d
tree5cfc2db6e7966a1d1bc2ed053e714521200bac1b
parent5f740c68685eaa02b969e98365129f6fe1e3249b
Don't compare llvm::Optional<> objects directly; compare their
contents when it's safe. I just *love* C++ some days.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125378 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Basic/SourceManager.cpp