diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-12-17 14:40:15 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-12-19 13:35:15 +0000 |
commit | 83fb81df35a62e6366689f2644281605ea134128 (patch) | |
tree | 63470680469e2c1fc77389afc328cc44babc3a8a | |
parent | 8669a83e162c4600754836eb836446fa8c369a96 (diff) |
CppTools: Fix categorization of *.inl, *.tpp, and similar
These are files that are included like headers, and not compiled
themselves, so e.g. adding them to a project should not categorize them
as source files.
Fixes: QTCREATORBUG-21736
Change-Id: I7dafba02896d12160de5eed458b99144df0a5f37
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | src/plugins/cpptools/CppTools.json.in | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/cpptools/CppTools.json.in b/src/plugins/cpptools/CppTools.json.in index 22fb394e41..3b7680337d 100644 --- a/src/plugins/cpptools/CppTools.json.in +++ b/src/plugins/cpptools/CppTools.json.in @@ -54,6 +54,11 @@ \" <!-- Additions to freedesktop: -->\", \" <glob pattern=\'*.h\' weight=\'70\'/>\", \" <glob pattern=\'*.H\' weight=\'70\'/>\", + \" <glob pattern=\'*.inl\' weight=\'70\'/>\", + \" <glob pattern=\'*.tcc\' weight=\'70\'/>\", + \" <glob pattern=\'*.tpp\' weight=\'70\'/>\", + \" <glob pattern=\'*.t++\' weight=\'70\'/>\", + \" <glob pattern=\'*.txx\' weight=\'70\'/>\", \" <!-- Find include guards of header files without extension, for\", \" example, STL ones like <string>. Those can have a big initial\", \" comment exceeding 1000 chars, though. -->\", @@ -74,11 +79,6 @@ \" <glob pattern=\'*.c++\' weight=\'70\'/>\", \" <!-- Additions to freedesktop: -->\", \" <glob pattern=\'*.cp\' weight=\'70\'/>\", - \" <glob pattern=\'*.inl\' weight=\'70\'/>\", - \" <glob pattern=\'*.tcc\' weight=\'70\'/>\", - \" <glob pattern=\'*.tpp\' weight=\'70\'/>\", - \" <glob pattern=\'*.t++\' weight=\'70\'/>\", - \" <glob pattern=\'*.txx\' weight=\'70\'/>\", \" <magic priority=\'30\'>\", \" <match value=\'-*- C++ -*-\' type=\'string\' offset=\'0:30\'/>\", \" </magic>\", |