Use constexpr
This commit is contained in:
parent
f6b410b469
commit
37c540b380
|
@ -25,42 +25,42 @@
|
||||||
#include "projectfile.h"
|
#include "projectfile.h"
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
static const char ProjectElementName[] = "project";
|
static constexpr char ProjectElementName[] = "project";
|
||||||
static const char ProjectVersionAttrib[] = "version";
|
static constexpr char ProjectVersionAttrib[] = "version";
|
||||||
static const char ProjectFileVersion[] = "1";
|
static constexpr char ProjectFileVersion[] = "1";
|
||||||
static const char BuildDirElementName[] = "builddir";
|
static constexpr char BuildDirElementName[] = "builddir";
|
||||||
static const char ImportProjectElementName[] = "importproject";
|
static constexpr char ImportProjectElementName[] = "importproject";
|
||||||
static const char AnalyzeAllVsConfigsElementName[] = "analyze-all-vs-configs";
|
static constexpr char AnalyzeAllVsConfigsElementName[] = "analyze-all-vs-configs";
|
||||||
static const char IncludeDirElementName[] = "includedir";
|
static constexpr char IncludeDirElementName[] = "includedir";
|
||||||
static const char DirElementName[] = "dir";
|
static constexpr char DirElementName[] = "dir";
|
||||||
static const char DirNameAttrib[] = "name";
|
static constexpr char DirNameAttrib[] = "name";
|
||||||
static const char DefinesElementName[] = "defines";
|
static constexpr char DefinesElementName[] = "defines";
|
||||||
static const char DefineName[] = "define";
|
static constexpr char DefineName[] = "define";
|
||||||
static const char DefineNameAttrib[] = "name";
|
static constexpr char DefineNameAttrib[] = "name";
|
||||||
static const char UndefinesElementName[] = "undefines";
|
static constexpr char UndefinesElementName[] = "undefines";
|
||||||
static const char UndefineName[] = "undefine";
|
static constexpr char UndefineName[] = "undefine";
|
||||||
static const char PathsElementName[] = "paths";
|
static constexpr char PathsElementName[] = "paths";
|
||||||
static const char PathName[] = "dir";
|
static constexpr char PathName[] = "dir";
|
||||||
static const char PathNameAttrib[] = "name";
|
static constexpr char PathNameAttrib[] = "name";
|
||||||
static const char RootPathName[] = "root";
|
static constexpr char RootPathName[] = "root";
|
||||||
static const char RootPathNameAttrib[] = "name";
|
static constexpr char RootPathNameAttrib[] = "name";
|
||||||
static const char IgnoreElementName[] = "ignore";
|
static constexpr char IgnoreElementName[] = "ignore";
|
||||||
static const char IgnorePathName[] = "path";
|
static constexpr char IgnorePathName[] = "path";
|
||||||
static const char IgnorePathNameAttrib[] = "name";
|
static constexpr char IgnorePathNameAttrib[] = "name";
|
||||||
static const char ExcludeElementName[] = "exclude";
|
static constexpr char ExcludeElementName[] = "exclude";
|
||||||
static const char ExcludePathName[] = "path";
|
static constexpr char ExcludePathName[] = "path";
|
||||||
static const char ExcludePathNameAttrib[] = "name";
|
static constexpr char ExcludePathNameAttrib[] = "name";
|
||||||
static const char LibrariesElementName[] = "libraries";
|
static constexpr char LibrariesElementName[] = "libraries";
|
||||||
static const char LibraryElementName[] = "library";
|
static constexpr char LibraryElementName[] = "library";
|
||||||
static const char PlatformElementName[] = "platform";
|
static constexpr char PlatformElementName[] = "platform";
|
||||||
static const char SuppressionsElementName[] = "suppressions";
|
static constexpr char SuppressionsElementName[] = "suppressions";
|
||||||
static const char SuppressionElementName[] = "suppression";
|
static constexpr char SuppressionElementName[] = "suppression";
|
||||||
static const char AddonElementName[] = "addon";
|
static constexpr char AddonElementName[] = "addon";
|
||||||
static const char AddonsElementName[] = "addons";
|
static constexpr char AddonsElementName[] = "addons";
|
||||||
static const char ToolElementName[] = "tool";
|
static constexpr char ToolElementName[] = "tool";
|
||||||
static const char ToolsElementName[] = "tools";
|
static constexpr char ToolsElementName[] = "tools";
|
||||||
static const char TagsElementName[] = "tags";
|
static constexpr char TagsElementName[] = "tags";
|
||||||
static const char TagElementName[] = "tag";
|
static constexpr char TagElementName[] = "tag";
|
||||||
static constexpr char CheckHeadersElementName[] = "check-headers";
|
static constexpr char CheckHeadersElementName[] = "check-headers";
|
||||||
static constexpr char CheckUnusedTemplatesElementName[] = "check-unused-templates";
|
static constexpr char CheckUnusedTemplatesElementName[] = "check-unused-templates";
|
||||||
static constexpr char MaxCtuDepthElementName[] = "max-ctu-depth";
|
static constexpr char MaxCtuDepthElementName[] = "max-ctu-depth";
|
||||||
|
|
Loading…
Reference in New Issue