Skip to content

Commit

Permalink
Alphabetize the warnings, and remove a duplicate.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bigboybad committed Jan 9, 2013
1 parent 7c91c22 commit 7f8b5c0
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions Base/Common.xcconfig
Expand Up @@ -16,15 +16,27 @@ CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES
// Enable ARC
CLANG_ENABLE_OBJC_ARC = YES

// Warn about implicit conversions of constant values that cause the constant value to change,
// either through a loss of precision, or entirely in its meaning.
CLANG_WARN_CONSTANT_CONVERSION = YES;

// Whether to warn when overriding deprecated methods
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES

// Whether to warn on duplicate method definitions
// Warn about declaring the same method more than once within the same @interface.
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES

// Warn about implicit conversions between different kinds of enum values.
// For example, this can catch issues when using the wrong enum flag as an argument to a function or method.
CLANG_WARN_ENUM_CONVERSION = YES;

// Whether to warn on implicit conversions between signed/unsigned types
CLANG_WARN_IMPLICIT_SIGN_CONVERSION = NO

// Warn about implicit conversions between pointers and integers.
// For example, this can catch issues when one incorrectly intermixes using NSNumbers and raw integers.
CLANG_WARN_INT_CONVERSION = YES;

// Whether to warn on suspicious implicit conversions
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES

Expand Down Expand Up @@ -118,21 +130,6 @@ GCC_WARN_UNUSED_VARIABLE = YES
// Whether to run the static analyzer with every build
RUN_CLANG_STATIC_ANALYZER = YES

// Warn about implicit conversions of constant values that cause the constant value to change,
// either through a loss of precision, or entirely in its meaning.
CLANG_WARN_CONSTANT_CONVERSION = YES;

// Warn about implicit conversions between different kinds of enum values.
// For example, this can catch issues when using the wrong enum flag as an argument to a function or method
CLANG_WARN_ENUM_CONVERSION = YES;

// Warn about implicit conversions between pointers and integers.
// For example, this can catch issues when one incorrectly intermixes using NSNumber*'s and raw integers.
CLANG_WARN_INT_CONVERSION = YES;

// Warn about declaring the same method more than once within the same @interface.
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;

// Whether to run unit tests with every build
TEST_AFTER_BUILD = YES

0 comments on commit 7f8b5c0

Please sign in to comment.