diff options
author | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-11-13 09:29:09 +0100 |
---|---|---|
committer | Ivan Donchevskii <ivan.donchevskii@qt.io> | 2018-11-13 09:21:30 +0000 |
commit | cc118a16e69df7ee7edac08d239197fb9a6efca9 (patch) | |
tree | 230f03a09e59ee839a8698d28342936a816f4d80 /src/plugins/clangformat/clangformatconstants.h | |
parent | 0ee07ae2adcd0691f68637910259c086c320b62c (diff) | |
download | qt-creator-cc118a16e69df7ee7edac08d239197fb9a6efca9.tar.gz |
ClangFormat: Use the constant for the configuration filename
It is unlikely that this name changes but let's follow good
coding practices.
Change-Id: I12adbf155f26b1b3a02d07092fcc113e0c5157e6
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Diffstat (limited to 'src/plugins/clangformat/clangformatconstants.h')
-rw-r--r-- | src/plugins/clangformat/clangformatconstants.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/clangformat/clangformatconstants.h b/src/plugins/clangformat/clangformatconstants.h index c37332bcee..1024341c22 100644 --- a/src/plugins/clangformat/clangformatconstants.h +++ b/src/plugins/clangformat/clangformatconstants.h @@ -24,3 +24,7 @@ ****************************************************************************/ #pragma once + +namespace ClangFormat { +static const char SETTINGS_FILE_NAME[] = ".clang-format"; +} |