瀏覽代碼

Add cpp check configuration to analysis configuration

Patrick-Christopher Mattulat 1 年之前
父節點
當前提交
d1294730b0
共有 1 個文件被更改,包括 14 次插入1 次删除
  1. 14 1
      config/clion-lynar-studios-analysis-profile.xml

+ 14 - 1
config/clion-lynar-studios-analysis-profile.xml

@@ -1,6 +1,19 @@
 <profile version="1.0">
     <option name="myName" value="lynar-studios-analysis-profile"/>
-    <inspection_tool class="Cppcheck" enabled="false" level="WARNING" enabled_by_default="false"/>
+    <option name="scopesOrder">
+        <list>
+            <option value="All Changed Files"/>
+            <option value="Open Files"/>
+            <option value="Project Files"/>
+            <option value="Project Non-Source Files"/>
+            <option value="Project Source Files"/>
+            <option value="Scratches and Consoles"/>
+            <option value="ls-std"/>
+        </list>
+    </option>
+    <inspection_tool class="Cppcheck" enabled="true" level="WARNING" enabled_by_default="false">
+        <scope name="ls-std" level="WARNING" enabled="true"/>
+    </inspection_tool>
     <inspection_tool class="UnusedValue" enabled="true" level="WARNING" enabled_by_default="true">
         <option name="showUnusedInitializers" value="false"/>
     </inspection_tool>