diff options
| author | Devin Coughlin <dcoughlin@apple.com> | 2015-11-04 21:33:41 +0000 |
|---|---|---|
| committer | Devin Coughlin <dcoughlin@apple.com> | 2015-11-04 21:33:41 +0000 |
| commit | 0500c70bebacd2685f9d5dff689bb51cc00006f1 (patch) | |
| tree | 23afe2395a0e699fab6272703e1ff2e5119ec06d /clang/test/Analysis/localization.m | |
| parent | 7d3e66a58fdfbb037ee1f770b2fc9ffadc7a30a9 (diff) | |
| download | bcm5719-llvm-0500c70bebacd2685f9d5dff689bb51cc00006f1.tar.gz bcm5719-llvm-0500c70bebacd2685f9d5dff689bb51cc00006f1.zip | |
[analyzer] Add 'optin' checker package and move localizability checkers into it.
This commit creates a new 'optin' top-level checker package and moves several of
the localizability checkers into it.
This package is for checkers that are not alpha and that would normally be on by
default but where the driver does not have enough information to determine when
they are applicable. The localizability checkers fit this criterion because the
driver cannot determine whether a project is localized or not -- this is best
determined at the IDE or build-system level.
This new package is *not* intended for checkers that are too noisy to be on by
default.
The hierarchy under 'optin' mirrors that in 'alpha': checkers under 'optin'
should be organized in the hierarchy they would have had if they were truly top
level (e.g., optin.osx.cocoa.MyOptInChecker).
Differential Revision: http://reviews.llvm.org/D14303
llvm-svn: 252080
Diffstat (limited to 'clang/test/Analysis/localization.m')
| -rw-r--r-- | clang/test/Analysis/localization.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/localization.m b/clang/test/Analysis/localization.m index 9270a092c1f..ce55609b1bf 100644 --- a/clang/test/Analysis/localization.m +++ b/clang/test/Analysis/localization.m @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -analyze -fblocks -analyzer-store=region -analyzer-checker=alpha.osx.cocoa.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.PluralMisuseChecker -verify %s +// RUN: %clang_cc1 -analyze -fblocks -analyzer-store=region -analyzer-checker=optin.osx.cocoa.localizability.NonLocalizedStringChecker -analyzer-checker=alpha.osx.cocoa.localizability.PluralMisuseChecker -verify %s // The larger set of tests in located in localization.m. These are tests // specific for non-aggressive reporting. |

