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 | dcb72d72ff373d1baa3c25782604f60756d0d803 (patch) | |
| tree | 229a8f13cca3dec8fe2108ab8ee36b7221982c5b /clang/lib/Lex | |
| parent | 0098a4bd0434d9e65439748e08bc9b60d0220ca9 (diff) | |
| download | bcm5719-llvm-dcb72d72ff373d1baa3c25782604f60756d0d803.tar.gz bcm5719-llvm-dcb72d72ff373d1baa3c25782604f60756d0d803.zip | |
Remove uses of SmallString::equals in favor of SmallVectorImpl<char>'s operator==
llvm-svn: 203373
Diffstat (limited to 'clang/lib/Lex')
| -rw-r--r-- | clang/lib/Lex/LiteralSupport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Lex/LiteralSupport.cpp b/clang/lib/Lex/LiteralSupport.cpp index a71518184ca..ddfa10c6987 100644 --- a/clang/lib/Lex/LiteralSupport.cpp +++ b/clang/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) |

