diff options
author | Sean Silva <chisophugis@gmail.com> | 2015-01-16 21:44:26 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2015-01-16 21:44:26 +0000 |
commit | 2a995148e8caa70a93ce62bd85396297528cc5ce (patch) | |
tree | ad83a0b333f3cb10f15d04ed48cafef29bf79a36 /clang/lib/AST/ASTContext.cpp | |
parent | 37679193af01e29550f1d3db5f6b1b979027dedc (diff) | |
download | bcm5719-llvm-2a995148e8caa70a93ce62bd85396297528cc5ce.tar.gz bcm5719-llvm-2a995148e8caa70a93ce62bd85396297528cc5ce.zip |
Fix some copypasta typos in asserts.
Fixes PR22236
Patch by Nicolas Brunie! <nicolas.brunie@kalray.eu>
llvm-svn: 226328
Diffstat (limited to 'clang/lib/AST/ASTContext.cpp')
-rw-r--r-- | clang/lib/AST/ASTContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp index 88f6bfba024..7f17fe8b8cc 100644 --- a/clang/lib/AST/ASTContext.cpp +++ b/clang/lib/AST/ASTContext.cpp @@ -7545,7 +7545,7 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context, break; case 'U': assert(!Signed && "Can't use both 'S' and 'U' modifiers!"); - assert(!Unsigned && "Can't use 'S' modifier multiple times!"); + assert(!Unsigned && "Can't use 'U' modifier multiple times!"); Unsigned = true; break; case 'L': @@ -7580,7 +7580,7 @@ static QualType DecodeTypeFromStr(const char *&Str, const ASTContext &Context, break; case 'h': assert(HowLong == 0 && !Signed && !Unsigned && - "Bad modifiers used with 'f'!"); + "Bad modifiers used with 'h'!"); Type = Context.HalfTy; break; case 'f': |