diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-29 05:23:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-29 05:23:19 +0000 |
commit | 1a360896d790ccb0b8dc393097ceea6a4b5e2436 (patch) | |
tree | 1c0763d6af5914ac260e8cf4560392aefce81a70 /Driver | |
parent | 500d3297d2a21edeac4d46cbcbe21bc2352c2a28 (diff) | |
download | clang-1a360896d790ccb0b8dc393097ceea6a4b5e2436.tar.gz |
Fix a wart that existed from before we had EXTWARN.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63272 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Driver')
-rw-r--r-- | Driver/clang.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Driver/clang.cpp b/Driver/clang.cpp index f5bb058d08..ca91fc682b 100644 --- a/Driver/clang.cpp +++ b/Driver/clang.cpp @@ -730,15 +730,6 @@ static void InitializeDiagnostics(Diagnostic &Diags) { if (!WarnImplicitFunctionDeclaration) Diags.setDiagnosticMapping(diag::warn_implicit_function_decl, diag::MAP_IGNORE); - - // If -pedantic-errors is set, turn extensions that warn by default into - // errors. - if (ErrorOnExtensions) { - Diags.setDiagnosticMapping(diag::warn_hex_escape_too_large, - diag::MAP_ERROR); - Diags.setDiagnosticMapping(diag::warn_octal_escape_too_large, - diag::MAP_ERROR); - } } //===----------------------------------------------------------------------===// |