diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-09 05:18:27 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-09 05:18:27 +0000 |
commit | 29d3b026fde04b0bcf59d8e35a014eab77e6047f (patch) | |
tree | 17b1615b758e5988f8064f126f34cd47376cab2c /lib/Lex/LiteralSupport.cpp | |
parent | 3fcc6f352623a7e13d3f8445b1c977d90812fe73 (diff) | |
download | clang-29d3b026fde04b0bcf59d8e35a014eab77e6047f.tar.gz clang-29d3b026fde04b0bcf59d8e35a014eab77e6047f.tar.bz2 clang-29d3b026fde04b0bcf59d8e35a014eab77e6047f.tar.xz |
Remove uses of SmallString::equals in favor of SmallVectorImpl<char>'s operator==
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/LiteralSupport.cpp')
-rw-r--r-- | lib/Lex/LiteralSupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/LiteralSupport.cpp b/lib/Lex/LiteralSupport.cpp index a71518184c..ddfa10c698 100644 --- a/lib/Lex/LiteralSupport.cpp +++ b/lib/Lex/LiteralSupport.cpp @@ -1373,7 +1373,7 @@ void StringLiteralParser::init(const Token *StringToks, unsigned NumStringToks){ // result of a concatenation involving at least one user-defined-string- // literal, all the participating user-defined-string-literals shall // have the same ud-suffix. - if (!UDSuffixBuf.equals(UDSuffix)) { + if (UDSuffixBuf != UDSuffix) { if (Diags) { SourceLocation TokLoc = StringToks[i].getLocation(); Diags->Report(TokLoc, diag::err_string_concat_mixed_suffix) |