diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2011-01-07 18:59:25 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2011-01-07 18:59:25 +0000 |
commit | 13f3b2f79b1bf5d86c0692249145e4c11965bde0 (patch) | |
tree | bda44221a67c0a766c140718e920677933e5e497 /clang/lib/Basic | |
parent | ab174c9d44fc6addc8e8a2a26a74caf185bbc309 (diff) | |
download | bcm5719-llvm-13f3b2f79b1bf5d86c0692249145e4c11965bde0.tar.gz bcm5719-llvm-13f3b2f79b1bf5d86c0692249145e4c11965bde0.zip |
Update AST reader/writer to handle new AppleKext.
Fix an unexpected hickup caused by exceeding size of
generated table (and a misleading comment). Improve
on help message for -fapple-kext.
llvm-svn: 123003
Diffstat (limited to 'clang/lib/Basic')
-rw-r--r-- | clang/lib/Basic/DiagnosticIDs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/DiagnosticIDs.cpp b/clang/lib/Basic/DiagnosticIDs.cpp index 29a8d9270a9..df32c31ea9e 100644 --- a/clang/lib/Basic/DiagnosticIDs.cpp +++ b/clang/lib/Basic/DiagnosticIDs.cpp @@ -82,7 +82,7 @@ static const StaticDiagInfoRec *GetDiagInfo(unsigned DiagID) { for (unsigned i = 1; i != NumDiagEntries; ++i) { assert(StaticDiagInfo[i-1].DiagID != StaticDiagInfo[i].DiagID && "Diag ID conflict, the enums at the start of clang::diag (in " - "Diagnostic.h) probably need to be increased"); + "DiagnosticIDs.h) probably need to be increased"); assert(StaticDiagInfo[i-1] < StaticDiagInfo[i] && "Improperly sorted diag info"); |