aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2019-05-07 22:37:00 +0100
committerSergio Martins <smartins@kde.org>2019-05-07 22:37:00 +0100
commit77b82be63b928d168ba4d79dd675ce33545c016b (patch)
treef9816a704ce8106ff0ff0d78698f269446e4576c
parent364d4763c498a2f124cf3a430bda87fe68321e9a (diff)
minor: Fix numeration of the ClazyOptions flags
-rw-r--r--src/ClazyContext.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ClazyContext.h b/src/ClazyContext.h
index c6af007d..db8ec1e8 100644
--- a/src/ClazyContext.h
+++ b/src/ClazyContext.h
@@ -56,15 +56,14 @@ class FixItExporter;
class ClazyContext
{
public:
-
enum ClazyOption {
ClazyOption_None = 0,
ClazyOption_ExportFixes = 1,
- ClazyOption_Qt4Compat = 8,
- ClazyOption_OnlyQt = 16, // Ignore non-Qt files. This is done by bailing out if QT_CORE_LIB is not set.
- ClazyOption_QtDeveloper = 32, // For running clazy on Qt itself, optional, but honours specific guidelines
- ClazyOption_VisitImplicitCode = 64, // Inspect compiler generated code aswell, useful for custom checks, if they need it
- ClazyOption_IgnoreIncludedFiles = 128 // Only warn for the current file being compiled, not on includes (useful for performance reasons)
+ ClazyOption_Qt4Compat = 2,
+ ClazyOption_OnlyQt = 4, // Ignore non-Qt files. This is done by bailing out if QT_CORE_LIB is not set.
+ ClazyOption_QtDeveloper = 8, // For running clazy on Qt itself, optional, but honours specific guidelines
+ ClazyOption_VisitImplicitCode = 16, // Inspect compiler generated code aswell, useful for custom checks, if they need it
+ ClazyOption_IgnoreIncludedFiles = 32 // Only warn for the current file being compiled, not on includes (useful for performance reasons)
};
typedef int ClazyOptions;