소스 검색

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>