aboutsummaryrefslogtreecommitdiff
path: root/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-03-01 22:50:47 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-03-01 22:50:47 +0000
commit86643b88a11582cfff2091a4815950d166269428 (patch)
treea2e060535ff532d1f2160948098e9b42e603fe7b /lib/StaticAnalyzer/Core/ExprEngine.cpp
parentfb7cb35fa0a8131853b1b049ca7be77980e144f5 (diff)
Since getDriver().getInstalledDir() returns a const char *, don't try to
compare it with getDriver().Dir.c_str(), since that is a pointer comparison, not a "are these strings equal" comparison. Instead, just compare with getDriver().Dir directly, so both sides will get promoted to std::string, and the regular std::string comparison operator applies. Patch by Dimitry Andric! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126791 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/ExprEngine.cpp')
0 files changed, 0 insertions, 0 deletions