Skip to content

Commit

Permalink
Change C++ to CPP at bears language
Browse files Browse the repository at this point in the history
To have a standard naming convention for language
names so that C++ and CPP are treated as same language.

Closes #2715
  • Loading branch information
abhishalya committed Oct 23, 2018
1 parent c5b3ddb commit 4e8b1f9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bears/c_languages/ArtisticStyleBear.py
Expand Up @@ -13,7 +13,7 @@ class ArtisticStyleBear:
C# and Java programming languages.
"""

LANGUAGES = {'C', 'C++', 'Objective-C', 'C#', 'Java'}
LANGUAGES = {'C', 'CPP', 'Objective-C', 'C#', 'Java'}
REQUIREMENTS = {
DistributionRequirement(
apt_get='astyle',
Expand Down
2 changes: 1 addition & 1 deletion bears/c_languages/CPPCheckBear.py
Expand Up @@ -21,7 +21,7 @@ class CPPCheckBear:
For more information, consult <https://github.com/danmar/cppcheck>.
"""

LANGUAGES = {'C', 'C++'}
LANGUAGES = {'C', 'CPP'}
REQUIREMENTS = {DistributionRequirement('cppcheck')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
Expand Down
2 changes: 1 addition & 1 deletion bears/c_languages/CPPCleanBear.py
Expand Up @@ -15,7 +15,7 @@ class CPPCleanBear:
<https://github.com/myint/cppclean#features>.
"""

LANGUAGES = {'C++'}
LANGUAGES = {'CPP'}
REQUIREMENTS = {PipRequirement('cppclean', '0.12.0')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
Expand Down
2 changes: 1 addition & 1 deletion bears/c_languages/CPPLintBear.py
Expand Up @@ -18,7 +18,7 @@ class CPPLintBear:
For more information, consult <https://github.com/theandrewdavis/cpplint>.
"""

LANGUAGES = {'C++'}
LANGUAGES = {'CPP'}
REQUIREMENTS = {PipRequirement('cpplint', '1.3')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
Expand Down
2 changes: 1 addition & 1 deletion bears/c_languages/CSecurityBear.py
Expand Up @@ -27,7 +27,7 @@ class CSecurityBear:
For more information, consult <http://www.dwheeler.com/flawfinder/>.
"""

LANGUAGES = {'C', 'C++'}
LANGUAGES = {'C', 'CPP'}
REQUIREMENTS = {DistributionRequirement('flawfinder')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
Expand Down
2 changes: 1 addition & 1 deletion bears/c_languages/ClangBear.py
Expand Up @@ -66,7 +66,7 @@ def sourcerange_from_clang_range(clang_range):


class ClangBear(LocalBear):
LANGUAGES = {'C', 'C++', 'Objective-C', 'Objective-C++', 'OpenMP',
LANGUAGES = {'C', 'CPP', 'Objective-C', 'Objective-C++', 'OpenMP',
'OpenCL', 'CUDA'}
# Depends on libclang-py3, which is a dependency of coala
REQUIREMENTS = {PipRequirement('libclang-py3', '3.4.0')}
Expand Down
2 changes: 1 addition & 1 deletion bears/c_languages/GNUIndentBear.py
Expand Up @@ -21,7 +21,7 @@ class GNUIndentBear:
C++ support is considered experimental.
"""

LANGUAGES = {'C', 'C++'}
LANGUAGES = {'C', 'CPP'}
REQUIREMENTS = {DistributionRequirement('indent')}
AUTHORS = {'The coala developers'}
AUTHORS_EMAILS = {'coala-devel@googlegroups.com'}
Expand Down

0 comments on commit 4e8b1f9

Please sign in to comment.