diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2019-02-12 13:04:11 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2019-02-12 13:04:11 +0000 |
| commit | 52c9ad200116382e8cb1c97ac54bb28559c68d45 (patch) | |
| tree | 2bedc40206edb5d48dafe1b5c622d912e2476b26 /clang/lib | |
| parent | 7f17bcdb5bd3e3a628deb959d6e54e85bd406309 (diff) | |
| download | bcm5719-llvm-52c9ad200116382e8cb1c97ac54bb28559c68d45.tar.gz bcm5719-llvm-52c9ad200116382e8cb1c97ac54bb28559c68d45.zip | |
Fixing a typo; NFC.
llvm-svn: 353837
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/Sema/SemaDeclAttr.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Sema/SemaDeclAttr.cpp b/clang/lib/Sema/SemaDeclAttr.cpp index 7f0ccdc6e75..c17263167c9 100644 --- a/clang/lib/Sema/SemaDeclAttr.cpp +++ b/clang/lib/Sema/SemaDeclAttr.cpp @@ -1118,7 +1118,7 @@ static void handlePassObjectSizeAttr(Sema &S, Decl *D, const ParsedAttr &AL) { // __builtin_object_size. So, it has the same constraints as that second // argument; namely, it must be in the range [0, 3]. if (Type > 3) { - S.Diag(E->getBeginLoc(), diag::err_attribute_argument_outof_range) + S.Diag(E->getBeginLoc(), diag::err_attribute_argument_out_of_range) << AL << 0 << 3 << E->getSourceRange(); return; } @@ -3299,7 +3299,7 @@ static void handleInitPriorityAttr(Sema &S, Decl *D, const ParsedAttr &AL) { } if (prioritynum < 101 || prioritynum > 65535) { - S.Diag(AL.getLoc(), diag::err_attribute_argument_outof_range) + S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_range) << E->getSourceRange() << AL << 101 << 65535; AL.setInvalid(); return; @@ -6434,7 +6434,7 @@ static void handleFortifyStdLib(Sema &S, Decl *D, const ParsedAttr &AL) { if (BOSType > 3) { S.Diag(AL.getArgAsExpr(0)->getBeginLoc(), - diag::err_attribute_argument_outof_range) + diag::err_attribute_argument_out_of_range) << AL << 0 << 3; return; } |

