AI Slop Code RIsk Monitor

microsoft/DirectXShaderCompiler

This repo hosts the source for the DirectX Shader Compiler which is based on LLVM/Clang.

5.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for microsoft/DirectXShaderCompiler, a C++ project with 3,663 GitHub stars. SynthScan examined 2,494,738 lines of code across 7672 source files, recording 13064 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.1
Adjusted Signal
5.1
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
3.7K
Stars
C++
Language
2.5M
Lines of Code
7.7K
Files
13.1K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 22.0/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 12950 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.3/100 · LOW

Are imports declared and package/API names verified? 80 finding(s).

Agent Over-Engineering Ratio 0.3/100 · LOW

Are wrappers, guards, and repeated structures necessary? 112 finding(s).

PR Review Velocity Impact 23.7/100 · LOW

Which changes need focused human review? 13064 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 37MEDIUM 130LOW 12897

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 13064 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block12583 hits · 11728 pts
SeverityFileLineSnippetContext
LOWtools/CMakeLists.txt21# add_llvm_tool_subdirectory(llvm-mc) # HLSL ChangeCOMMENT
LOWtools/CMakeLists.txt41add_llvm_tool_subdirectory(llvm-diff) # HLSL ChangeCOMMENT
LOWtools/CMakeLists.txt81# add_llvm_external_project(llgo) # HLSL ChangeCOMMENT
LOWtools/llvm-cxxdump/Error.h1//===- Error.h - system_error extensions for llvm-cxxdump -------*- C++ -*-===//COMMENT
LOWtools/llvm-cxxdump/Error.cpp1//===- Error.cxx - system_error extensions for llvm-cxxdump -----*- C++ -*-===//COMMENT
LOWtools/llvm-cxxdump/llvm-cxxdump.cpp1//===- llvm-cxxdump.cpp - Dump C++ data in an Object File -------*- C++ -*-===//COMMENT
LOWtools/llvm-cxxdump/llvm-cxxdump.cpp21#include "llvm/Support/Endian.h"COMMENT
LOWtools/llvm-cxxdump/llvm-cxxdump.h1//===-- llvm-cxxdump.h ------------------------------------------*- C++ -*-===//COMMENT
LOWtools/verify-uselistorder/verify-uselistorder.cpp1//===- verify-uselistorder.cpp - The LLVM Modular Optimizer ---------------===//COMMENT
LOWtools/verify-uselistorder/verify-uselistorder.cpp21//COMMENT
LOWtools/verify-uselistorder/verify-uselistorder.cpp41#include "llvm/Support/ErrorHandling.h"COMMENT
LOWtools/verify-uselistorder/verify-uselistorder.cpp81};COMMENT
LOWtools/llvm-config/llvm-config.cpp1//===-- llvm-config.cpp - LLVM project configuration utility --------------===//COMMENT
LOWtools/llvm-config/llvm-config.cpp21#include "llvm/ADT/StringMap.h"COMMENT
LOWtools/llvm-config/llvm-config.cpp41// AvailableComponent entries, which record the component name, library name,COMMENT
LOWtools/clang/tools/dxc/dxcmain.cpp1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/dxv/dxv.cpp1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/dxl/dxl.cpp1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/dxopt/dxopt.cpp1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/libclang/ARCMigrate.cpp1//===- ARCMigrate.cpp - Clang-C ARC Migration Library ---------------------===//COMMENT
LOWtools/clang/tools/libclang/dxcisenseimpl.cpp1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/libclang/dxcisenseimpl.cpp21#include "clang/Frontend/CompilerInstance.h"COMMENT
LOWtools/clang/tools/libclang/CursorVisitor.h1//===- CursorVisitor.h - CursorVisitor interface ----------------*- C++ -*-===//COMMENT
LOWtools/clang/tools/libclang/CMakeLists.txt181add_dependencies(libclang TablegenHLSLOptions) # HLSL ChangeCOMMENT
LOWtools/clang/tools/libclang/CIndexCXX.cpp1//===- CIndexCXX.cpp - Clang-C Source Indexing Library --------------------===//COMMENT
LOWtools/clang/tools/libclang/CIndexer.cpp1//===- CIndex.cpp - Clang-C Source Indexing Library -----------------------===//COMMENT
LOWtools/clang/tools/libclang/CIndexer.cpp21#include "clang/Sema/CodeCompleteConsumer.h"COMMENT
LOWtools/clang/tools/libclang/IndexingContext.cpp1//===- IndexingContext.cpp - Higher level API functions -------------------===//COMMENT
LOWtools/clang/tools/libclang/CXLoadedDiagnostic.cpp1//===-- CXLoadedDiagnostic.cpp - Handling of persisent diags ----*- C++ -*-===//COMMENT
LOWtools/clang/tools/libclang/CXSourceLocation.h1//===- CXSourceLocation.h - CXSourceLocations Utilities ---------*- C++ -*-===//COMMENT
LOWtools/clang/tools/libclang/CXCursor.h1//===- CXCursor.h - Routines for manipulating CXCursors -------------------===//COMMENT
LOWtools/clang/tools/libclang/Indexing.cpp1//===- CIndexHigh.cpp - Higher level API functions ------------------------===//COMMENT
LOWtools/clang/tools/libclang/Indexing.cpp21#include "clang/Frontend/CompilerInstance.h"COMMENT
LOWtools/clang/tools/libclang/Indexing.cpp61 return false;COMMENT
LOWtools/clang/tools/libclang/Index_Internal.h1//===- CXString.h - Routines for manipulating CXStrings -------------------===//COMMENT
LOWtools/clang/tools/libclang/CXCursor.cpp1//===- CXCursor.cpp - Routines for manipulating CXCursors -----------------===//COMMENT
LOWtools/clang/tools/libclang/CXType.h1//===- CXTypes.h - Routines for manipulating CXTypes ----------------------===//COMMENT
LOWtools/clang/tools/libclang/dxcrewriteunused.cpp1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/libclang/dxcrewriteunused.cpp21#include "clang/Frontend/CompilerInstance.h"COMMENT
LOWtools/clang/tools/libclang/IndexingContext.h1//===- IndexingContext.h - Higher level API functions -----------*- C++ -*-===//COMMENT
LOWtools/clang/tools/libclang/CIndexInclusionStack.cpp1//===- CIndexInclusionStack.cpp - Clang-C Source Indexing Library ---------===//COMMENT
LOWtools/clang/tools/libclang/CXTranslationUnit.h1//===- CXTranslationUnit.h - Routines for manipulating CXTranslationUnits -===//COMMENT
LOWtools/clang/tools/libclang/CIndexer.h1//===- CIndexer.h - Clang-C Source Indexing Library -------------*- C++ -*-===//COMMENT
LOWtools/clang/tools/libclang/CLog.h1//===- CLog.h - Logging Interface -------------------------------*- C++ -*-===//COMMENT
LOWtools/clang/tools/libclang/CIndexHigh.cpp1//===- CIndexHigh.cpp - Higher level API functions ------------------------===//COMMENT
LOWtools/clang/tools/libclang/CIndexHigh.cpp61 getTopOverriddenMethods(TU, Dcl, TopMethods);COMMENT
LOWtools/clang/tools/libclang/CXType.cpp1//===- CXTypes.cpp - Implements 'CXTypes' aspect of libclang ------------===//COMMENT
LOWtools/clang/tools/libclang/BuildSystem.cpp1//===- BuildSystem.cpp - Utilities for use by build systems ---------------===//COMMENT
LOWtools/clang/tools/libclang/CXString.h1//===- CXString.h - Routines for manipulating CXStrings -------------------===//COMMENT
LOWtools/clang/tools/libclang/CXString.h41/// \p String should not be changed by the caller afterwards.COMMENT
LOWtools/clang/tools/libclang/CIndex.cpp1//===- CIndex.cpp - Clang-C Source Indexing Library -----------------------===//COMMENT
LOWtools/clang/tools/libclang/CIndex.cpp21#include "CXTranslationUnit.h"COMMENT
LOWtools/clang/tools/libclang/CIndex.cpp41#include "clang/Serialization/SerializationDiagnostic.h"COMMENT
LOWtools/clang/tools/libclang/CIndex.cpp4501 // Check that when we have multiple declarators in the same line,COMMENT
LOWtools/clang/tools/libclang/CIndexCodeCompletion.cpp1//===- CIndexCodeCompletion.cpp - Code Completion API hooks ---------------===//COMMENT
LOWtools/clang/tools/libclang/CIndexCodeCompletion.cpp21#include "clang/AST/Decl.h"COMMENT
LOWtools/clang/tools/libclang/CIndexCodeCompletion.cpp921 static_cast<AllocatedCXCodeCompleteResults *>(ResultsIn);COMMENT
LOWtools/clang/tools/libclang/dxcisenseimpl.h1///////////////////////////////////////////////////////////////////////////////COMMENT
LOWtools/clang/tools/libclang/CIndexDiagnostic.cpp161CXDiagnosticSetImpl *cxdiag::lazyCreateDiags(CXTranslationUnit TU,COMMENT
LOWtools/clang/tools/libclang/CXString.cpp1//===- CXString.cpp - Routines for manipulating CXStrings -----------------===//COMMENT
12523 more matches not shown…
Self-Referential Comments56 hits · 176 pts
SeverityFileLineSnippetContext
MEDIUMtools/clang/tools/clang-format/clang-format.py1# This file is a minimal clang-format vim-integration. To install:COMMENT
MEDIUMtools/clang/tools/clang-format/clang-format-diff.py7# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMtools/clang/tools/clang-format/clang-format-sublime.py1# This file is a minimal clang-format sublime-integration. To install:COMMENT
MEDIUMtools/clang/utils/check_cfc/test_check_cfc.py111 # Creating a dependency file as a side effect still outputs an object fileCOMMENT
MEDIUMtools/clang/utils/analyzer/update_plist_test.pl12# Create a temp file for the new test.COMMENT
MEDIUMtools/clang/utils/analyzer/reducer.pl13# Create a backup of the file.COMMENT
MEDIUMtools/clang/utils/analyzer/reducer.pl19# Create the script.COMMENT
MEDIUMtools/clang/docs/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMtools/clang/docs/analyzer/conf.py6# This file is execfile()d with the current directory set to its containing dir.COMMENT
MEDIUMtools/clang/bindings/python/clang/enumerations.py5# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMtools/clang/bindings/python/clang/__init__.py5# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMtools/clang/bindings/python/clang/cindex.py5# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMtools/clang/bindings/python/tests/cindex/util.py1# This file provides common utility functions for the test suite.COMMENT
MEDIUM…ang/bindings/python/examples/cindex/cindex-includes.py6# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUM…s/clang/bindings/python/examples/cindex/cindex-dump.py6# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/getsrcs.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/generate_hlsl_embedded_headers.py3# This file is distributed under the University of Illinois Open Source License.COMMENT
MEDIUMutils/countloc.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/embed_header.py3# This file is distributed under the University of Illinois Open Source License.COMMENT
MEDIUMutils/shuffle_fuzz.py183 # Define a wrapper function which is marked 'optnone' to preventSTRING
MEDIUM⚡utils/llvm-build/llvmbuild/main.py531# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUM⚡utils/llvm-build/llvmbuild/main.py536# This file contains the LLVMBuild project information in a format easilyCOMMENT
MEDIUM⚡utils/llvm-build/llvmbuild/main.py539# This file is autogenerated by llvm-build, do not edit!COMMENT
MEDIUM⚡utils/llvm-build/llvmbuild/main.py667# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUM⚡utils/llvm-build/llvmbuild/main.py672# This file contains the LLVMBuild project information in a format easilyCOMMENT
MEDIUM⚡utils/llvm-build/llvmbuild/main.py675# This file is autogenerated by llvm-build, do not edit!COMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py114 # Create the component info map and validate that component names areCOMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py947 # Create the substitution list.COMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py259 # Create the directory if it does not already exist.STRING
MEDIUMutils/llvm-build/llvmbuild/main.py278 # Create the LLVMBuild fil[e.STRING
MEDIUMutils/hct/hcttracei.py3# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/hct/hctdb_instrhelp.py2# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/hct/hctdb_instrhelp.py1483 # Create the code to write out.COMMENT
MEDIUMutils/hct/hctdb.py2# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/hct/hcttest-samples.py2# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/hct/CodeTags.py2# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/hct/hcttest-system-values.py2# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/hct/hctdb_test.py1# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for detailsCOMMENT
MEDIUMutils/hct/hctdb_test.py3# This file contains driver test information for DXIL operations #COMMENT
MEDIUMutils/hct/VerifierHelper.py2# This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.COMMENT
MEDIUMutils/lit/lit/run.py50 # Create a shared queue to provide the test indices.COMMENT
MEDIUM⚡utils/lit/lit/run.py119 # This method is called in the child processes, and communicates theCOMMENT
MEDIUM⚡utils/lit/lit/run.py124 # This method is called in the child processes, and communicates thatCOMMENT
MEDIUM⚡utils/lit/lit/run.py129 # This method is called in the parent, and consumes the results from theCOMMENT
MEDIUMutils/lit/lit/run.py231 # Create the test provider.COMMENT
MEDIUMutils/lit/lit/discovery.py240 # Create the global config object.COMMENT
MEDIUMutils/lit/lit/main.py273 # Create the user defined parameters.COMMENT
MEDIUMutils/lit/lit/main.py282 # Create the global config object.COMMENT
MEDIUMutils/lit/lit/TestRunner.py629 # Create the output directory if it does not already exist.COMMENT
MEDIUMutils/lit/tests/Inputs/test-data/lit.cfg20 # Create the basic test result.COMMENT
MEDIUMutils/release/tag.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/release/merge.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/release/test-release.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/release/test-release.sh416# Create a package of the release binaries.COMMENT
MEDIUMutils/release/export.sh6# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMdocs/conf.py5# This file is execfile()d with the current directory set to its containing dir.COMMENT
AI Slop Vocabulary58 hits · 160 pts
SeverityFileLineSnippetContext
MEDIUMtools/clang/tools/libclang/CIndex.cpp973 // FIXME: Eventually convert back to just 'VisitDeclContext()'. EssentiallyCOMMENT
MEDIUMtools/clang/include/clang/Driver/Driver.h398 /// GCC goes to extra lengths here to be a bit more robust.COMMENT
MEDIUMtools/clang/include/clang/Basic/TargetCXXABI.h59 /// Essentially, the iOS ABI includes the ARM changes to:COMMENT
MEDIUMtools/clang/include/clang/Format/Format.h222 /// Fundamentally, C++11 braced lists are formatted exactly like functionCOMMENT
MEDIUMtools/clang/include/clang/AST/DeclObjC.h96/// functions leverage C syntax, Objective-C method syntax is modeled afterCOMMENT
MEDIUMtools/clang/unittests/HLSLExec/LongVectors.cpp1087 // can leverage the existing logic which verify expected values in aCOMMENT
MEDIUMtools/clang/unittests/Format/FormatTest.cpp7408 // We should try to be robust in case someone forgets the "@".COMMENT
MEDIUMtools/clang/unittests/Format/FormatTest.cpp7454 // We should try to be robust in case someone forgets the "@".COMMENT
LOWtools/clang/utils/ABITest/Enumeration.py109 # If in lower left, just return as usualCOMMENT
MEDIUM⚡tools/clang/utils/analyzer/SATestBuild.py180# Test harness logic.COMMENT
LOWtools/clang/lib/Frontend/CacheTokens.cpp363 // Invalid directives "#foo" can occur in #if 0 blocks etc, just passCOMMENT
MEDIUMtools/clang/lib/Driver/Tools.cpp355 // wonky, but we include looking for .gch so we can support seamlessCOMMENT
MEDIUMtools/clang/lib/Parse/ParseInit.cpp45 // Definitely starts a lambda expression.COMMENT
MEDIUMtools/clang/lib/Parse/ParseDecl.cpp1294 // are stored in the numeric constant. We utilize a quirk of theCOMMENT
MEDIUMtools/clang/lib/SPIRV/SpirvEmitter.cpp4635 // using 4 OpImageGather instructions. Otherwise, we can leverage theCOMMENT
MEDIUMtools/clang/lib/SPIRV/SpirvEmitter.cpp8362 assert(result); // Definitely RWBuffer/RWTexture assignmentCODE
MEDIUMtools/clang/lib/Basic/SourceManager.cpp822 // Essentially the same as the local case, but the loaded array is sortedCOMMENT
LOWtools/clang/lib/Basic/SourceManager.cpp1407 // If there are no #line directives in this file, just return the whole-fileCOMMENT
MEDIUMtools/clang/lib/Sema/SemaOverload.cpp940 // Essentially, these rules are the normal rules, except thatCOMMENT
MEDIUMtools/clang/lib/Sema/SemaDeclAttr.cpp5533/// Essentially, this just moves them to the current pool.COMMENT
MEDIUM…/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp463 // Look at the value of the integer being passed by reference. EssentiallyCOMMENT
MEDIUMtools/clang/lib/CodeGen/CGCleanup.h406 // Essentially ends in a flexible array member:COMMENT
MEDIUMtools/clang/lib/CodeGen/CGExprAgg.cpp456 // variable are complicated. Essentially, after each iteration ofCOMMENT
MEDIUMtools/clang/lib/CodeGen/CGDebugInfo.cpp1265 // derived classes. GDB doesn't seem to notice/leverage these when I triedCOMMENT
MEDIUMtools/clang/lib/CodeGen/CGObjC.cpp2536/// Essentially objc_autorelease(objc_loadWeakRetained(addr)).COMMENT
MEDIUMtools/clang/lib/CodeGen/CGObjC.cpp2562/// Essentially equivalent to:COMMENT
MEDIUMtools/clang/lib/CodeGen/CGObjC.cpp2581/// Essentially objc_storeWeak(addr, nil).COMMENT
MEDIUMtools/clang/lib/CodeGen/CGObjC.cpp2598/// Essentially (objc_copyWeak(dest, src), objc_destroyWeak(src)).COMMENT
MEDIUMtools/clang/lib/CodeGen/CGObjC.cpp2606/// Disregards the current value in %dest. EssentiallyCOMMENT
MEDIUMtools/clang/lib/CodeGen/MicrosoftCXXABI.cpp3766 // Constructors for classes which utilize virtual bases have an additionalCOMMENT
MEDIUMtools/clang/bindings/python/clang/cindex.py407 """Helper class to facilitate token management.STRING
MEDIUMtools/lli/RemoteTargetMessage.h25// The protocol is not intended to be robust, secure or fault-tolerant. It isCOMMENT
MEDIUMinclude/llvm/ADT/Hashing.h617/// behavior in the presence of integral promotions. Essentially,COMMENT
MEDIUMinclude/llvm/IR/ValueMap.h244 Copy.Map->Map.erase(Copy); // Definitely destroys *this.CODE
MEDIUMinclude/llvm/IR/ValueMap.h265 Copy.Map->Map.erase(I); // Definitely destroys *this.CODE
MEDIUMinclude/llvm/CodeGen/RegisterPressure.h47/// because delimiting regions by SlotIndex is more robust and convenient thanCOMMENT
MEDIUMinclude/llvm/Support/MathExtras.h594/// Essentially, it is a floor operation across the domain of powers of two.COMMENT
MEDIUMprojects/dxilconv/lib/DxilConvPasses/DxilCleanup.cpp17// Essentially, the pass construct efficient SSA for DXBC r-registers andCOMMENT
MEDIUMunittests/Support/Path.cpp533 // FIXME: recursive_directory_iterator should be more robust.COMMENT
MEDIUMutils/DSAextract.py92 #note that this is no completely robust, if a none edge lineCOMMENT
MEDIUM…s/unittest/googletest/include/gtest/gtest-death-test.h146// This implementation is *not* meant to be as highly tuned or robustCOMMENT
MEDIUM…s/unittest/googletest/include/gtest/gtest-death-test.h218// In practice, this can be used to test functions that utilize theCOMMENT
LOWutils/llvm-build/llvmbuild/main.py35 # strings it generates. So instead of using proper quoting, we just use "/"COMMENT
LOWutils/hct/hctdb_instrhelp.py768 # No overload, just return the single oload_type.COMMENT
MEDIUMutils/hct/CodeTags.py551 # Use test harness to do work, but we don't care about the comparisonSTRING
LOWutils/lit/lit/ShUtil.py204 # If this is an argument, just add it to the current command.COMMENT
MEDIUMutils/TableGen/CodeGenSchedule.cpp637/// processors that may utilize this class.COMMENT
MEDIUMlib/Analysis/DivergenceAnalysis.cpp166 // A program may contain unstructured loops. Therefore, we cannot leverageCOMMENT
MEDIUMlib/Analysis/ValueTracking.cpp45/// Enable an experimental feature to leverage information about dominatingCOMMENT
MEDIUMlib/IR/DebugInfo.cpp385 // but this is more robust.COMMENT
MEDIUMlib/IR/Instructions.cpp1971/// changed in order to effect the cast. Essentially, it identifies cases whereCOMMENT
MEDIUMlib/DxilDia/DxilDiaSymbolManager.h92 // hold for non-optimized code - so we need something more robust. For now,COMMENT
MEDIUMlib/CodeGen/Passes.cpp287 // Fundamentally, once we add the pass to the manager, we no longer own itCOMMENT
MEDIUMlib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp71// Temporary sched=list-ilp flags until the heuristics are robust.COMMENT
MEDIUMlib/ExecutionEngine/Orc/IndirectionUtils.cpp78 // FIXME: Use a more robust uniquing scheme. (This may blow up if the userCOMMENT
MEDIUM…/Transforms/Scalar/DxilRemoveUnstructuredLoopExits.cpp99// Essentially it hoists the exit branch out of the loop:COMMENT
MEDIUMlib/DxrFallback/StateFunctionTransform.cpp508 // analysis. To make this robust we would need to make it possible to runCOMMENT
MEDIUMlib/HLSL/DxilContainerReflection.cpp880 // This code doesn't try to be any more robust.COMMENT
Cross-Language Confusion26 hits · 116 pts
SeverityFileLineSnippetContext
HIGHtools/clang/utils/check_cfc/check_cfc.py12 e.g. cp check_cfc.py clang && cp check_cfc.py clang++STRING
HIGHtools/clang/utils/ABITest/ABITestGen.py58 print >>self.output, ' if (index == -1 || index == %d)' % iCODE
HIGHtools/clang/utils/ABITest/ABITestGen.py137 print >>self.outputDriver, ' if (index == -1 || index == %d) {' % iCODE
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py31 "{'int', ResultType} | {'test1', TypedText} || Priority: 50 || Availability: Available || Brief comment: Aaa.",STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py32 "{'void', ResultType} | {'test2', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 50 || AvailabilitSTRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py33 "{'return', TypedText} || Priority: 40 || Availability: Available || Brief comment: None"STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py60 "{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py61 "{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py62 "{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py63 "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py64 "{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None"STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py70 "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",STRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py71 "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParSTRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py72 "{'int', ResultType} | {'member', TypedText} || Priority: 35 || Availability: NotAccessible || Brief comment: NoSTRING
HIGH⚡…g/bindings/python/tests/cindex/test_code_completion.py73 "{'void', ResultType} | {'~P', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 34 || AvailabilitySTRING
HIGH⚡utils/hct/query.py24 return falseSTRING
HIGH⚡utils/hct/query.py32 return trueSTRING
HIGH⚡utils/hct/query.py33 return falseSTRING
HIGHutils/hct/query.py46 return falseSTRING
HIGHutils/hct/hctdb_instrhelp.py1421 result += prefix + 'S.equals("%s")' % kCODE
HIGHutils/hct/hctdb_instrhelp.py1645 model_cond = "major > %d || (major == %d && minor >= %d)" % (CODE
HIGHutils/hct/hctdb_instrhelp.py1651 model_max_cond = "major < %d || (major == %d && minor <= %d)" % (CODE
HIGH⚡utils/lit/lit/ShUtil.py332 self.assertEqual(self.parse('a && b'),CODE
HIGH⚡utils/lit/lit/ShUtil.py337 self.assertEqual(self.parse('a || b'),CODE
HIGH⚡utils/lit/lit/ShUtil.py342 self.assertEqual(self.parse('a && b || c'),CODE
HIGH⚡utils/lit/lit/ShUtil.py342 self.assertEqual(self.parse('a && b || c'),CODE
Verbosity Indicators38 hits · 70 pts
SeverityFileLineSnippetContext
LOW⚡tools/clang/lib/SPIRV/SpirvEmitter.cpp10677 // Step 1:COMMENT
LOW⚡tools/clang/lib/SPIRV/SpirvEmitter.cpp10679 // Step 2:COMMENT
LOW⚡tools/clang/lib/SPIRV/SpirvEmitter.cpp10683 // Step 3:COMMENT
LOWtools/clang/lib/SPIRV/DeclResultIdMapper.cpp45 // For vectors, we need to check if the element type is compatible. We doCOMMENT
LOWtools/clang/lib/Sema/SemaDeclAttr.cpp2694 // FIXME: do we need to check if the type is NSString*? What are theCOMMENT
LOW…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp241 // Step 2: generate node with bound return value: CEBNode -> BindedRetNode.COMMENT
LOW…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp278 // Step 3: BindedRetNode -> CleanedNodesCOMMENT
LOW⚡…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp310 // Step 4: Generate the CallExit and leave the callee's context.COMMENT
LOW⚡…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp320 // Step 5: Perform the post-condition check of the CallExpr and enqueue theCOMMENT
LOW⚡tools/clang/lib/CodeGen/TargetInfo.cpp5558 // Step 1: Set ISR calling convention.COMMENT
LOW⚡tools/clang/lib/CodeGen/TargetInfo.cpp5561 // Step 2: Add attributes goodness.COMMENT
LOW⚡tools/clang/lib/CodeGen/TargetInfo.cpp5564 // Step 3: Emit ISR vector alias.COMMENT
LOWlib/Analysis/TypeBasedAliasAnalysis.cpp409 // TODO: We need to check if AccessType of TagA encloses AccessType ofCOMMENT
LOWlib/CodeGen/LiveRangeCalc.cpp56 // Step 1: Create minimal live segments for every definition of Reg.COMMENT
LOWlib/CodeGen/LiveRangeCalc.cpp115 // Step 2: Extend live segments to all uses, constructing SSA form asCOMMENT
LOWlib/CodeGen/CodeGenPrepare.cpp3745 // If we promoted, we need to check if it is indeed profitable.COMMENT
LOWlib/CodeGen/RegisterCoalescer.cpp1572// overlapping live ranges, and we need to check if the interference can beCOMMENT
LOW⚡lib/Transforms/InstCombine/InstCombineAddSub.cpp534 // Step 1: Expand the 1st addend into Opnd0_0 and Opnd0_1.COMMENT
LOW⚡lib/Transforms/InstCombine/InstCombineAddSub.cpp541 // Step 2: Expand the 2nd addend into Opnd1_0 and Opnd1_1.COMMENT
LOW⚡lib/Transforms/InstCombine/InstCombineAddSub.cpp545 // Step 3: Try to optimize Opnd0_0 + Opnd0_1 + Opnd1_0 + Opnd1_1COMMENT
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp699 // Step 1: Check if the # of instructions needed exceeds the quota.COMMENT
LOWlib/Transforms/Scalar/GVN.cpp1748 // Step 1: Find the non-local dependencies of the load.COMMENT
LOW⚡lib/Transforms/Scalar/GVN.cpp1780 // Step 2: Analyze the availability of the loadCOMMENT
LOW⚡lib/Transforms/Scalar/GVN.cpp1790 // Step 3: Eliminate fully redundancy.COMMENT
LOWlib/Transforms/Scalar/GVN.cpp1813 // Step 4: Eliminate partial redundancy.COMMENT
LOWlib/Transforms/Scalar/Reassociate.cpp1443 // Step 1: Convert ValueEntry to XorOpndCOMMENT
LOW⚡lib/Transforms/Scalar/Reassociate.cpp1462 // Step 2: Sort the Xor-Operands in a way such that the operands containingCOMMENT
LOW⚡lib/Transforms/Scalar/Reassociate.cpp1468 // Step 3: Combine adjacent operandsCOMMENT
LOWlib/Transforms/Scalar/Reassociate.cpp1509 // Step 4: Reassemble the OpsCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp474 // Step 1: Insert the ctpop instruction at the end of the precondition blockCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp497 // Step 2: Replace the precondition from "if(x == 0) goto loop-exit" toCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp516 // Step 3: Note that the population count is exactly the trip count of theCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp560 // Step 4: All the references to the original population counter outsideCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp115 // Step 1: Convert SV_POSITION to UINTCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp141 // Step 2: Calculate pixel indexCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp183 // Step 1: Retrieve weight value from UAV; it will be placed after theCOMMENT
LOW⚡lib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp205 // Step 2: Update write position ("Index") to second half of the UAVCOMMENT
LOW⚡lib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp209 // Step 3: Increment UAV value by the weightCOMMENT
Hyper-Verbose Identifiers73 hits · 69 pts
SeverityFileLineSnippetContext
LOWtools/clang/test/lit.cfg429def is_filesystem_case_insensitive():CODE
LOWtools/clang/unittests/Format/FormatTestJS.cpp894 verifyFormat("function aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa():\n"CODE
LOWtools/clang/utils/check_cfc/test_check_cfc.py19 def test_remove_dir_from_path(self):CODE
LOW⚡tools/clang/bindings/python/clang/cindex.py1422 def get_num_template_arguments(self):CODE
LOW⚡tools/clang/bindings/python/clang/cindex.py1426 def get_template_argument_kind(self, num):CODE
LOW⚡tools/clang/bindings/python/clang/cindex.py1431 def get_template_argument_type(self, num):CODE
LOW⚡tools/clang/bindings/python/clang/cindex.py1435 def get_template_argument_value(self, num):CODE
LOW⚡tools/clang/bindings/python/clang/cindex.py1439 def get_template_argument_unsigned_value(self, num):CODE
LOWtools/clang/bindings/python/tests/cindex/test_type.py159def test_function_argument_types():CODE
LOWtools/clang/bindings/python/tests/cindex/test_type.py183def test_argument_types_string_key():CODE
LOW⚡tools/clang/bindings/python/tests/cindex/test_type.py195def test_argument_types_negative_index():CODE
LOW⚡tools/clang/bindings/python/tests/cindex/test_type.py204def test_argument_types_overflow_index():CODE
LOW⚡tools/clang/bindings/python/tests/cindex/test_type.py213def test_argument_types_invalid_type():CODE
LOWtools/clang/bindings/python/tests/cindex/test_type.py272def test_invalid_element_type():CODE
LOWtools/clang/bindings/python/tests/cindex/test_type.py296def test_is_volatile_qualified():CODE
LOWtools/clang/bindings/python/tests/cindex/test_type.py311def test_is_restrict_qualified():CODE
LOWtools/clang/bindings/python/tests/cindex/test_cdb.py85def test_compilecommand_iterator_stops():CODE
LOWtools/clang/bindings/python/tests/cindex/test_cursor.py209def test_annotation_attribute():STRING
LOW⚡tools/clang/bindings/python/tests/cindex/test_cursor.py257def test_get_num_template_arguments():STRING
LOW⚡tools/clang/bindings/python/tests/cindex/test_cursor.py263def test_get_template_argument_kind():STRING
LOW⚡tools/clang/bindings/python/tests/cindex/test_cursor.py271def test_get_template_argument_type():STRING
LOW⚡tools/clang/bindings/python/tests/cindex/test_cursor.py277def test_get_template_argument_value():STRING
LOW⚡tools/clang/bindings/python/tests/cindex/test_cursor.py284def test_get_template_argument_unsigned_value():STRING
LOW…/bindings/python/tests/cindex/test_translation_unit.py112def test_save_translation_errors():CODE
LOW⚡…g/bindings/python/tests/cindex/test_code_completion.py37def test_code_complete_availability():STRING
LOWinclude/llvm/PassAnalysisSupport.h118class PMDataManager;CODE
LOWinclude/llvm/Pass.h47class PMDataManager;CODE
LOWinclude/llvm/IR/LegacyPassManagers.h52// [o] class PMDataManager;COMMENT
LOWinclude/llvm/IR/LegacyPassManagers.h101 class PMDataManager;CODE
LOWinclude/llvm/IR/LegacyPassManagers.h278class PMDataManager {CODE
LOWutils/wciia.py27def process_files_and_folders(owner):CODE
LOWutils/llvm-build/llvmbuild/componentinfo.py178 def get_prefixed_library_name(self):STRING
LOWutils/llvm-build/llvmbuild/componentinfo.py195 def get_llvmconfig_component_name(self):STRING
LOWutils/llvm-build/llvmbuild/componentinfo.py257 def get_llvmconfig_component_name(self):STRING
LOWutils/llvm-build/llvmbuild/componentinfo.py334 def get_llvmconfig_component_name(self):STRING
LOWutils/llvm-build/llvmbuild/componentinfo.py439def _read_components_from_parser(parser, path, subpath):STRING
LOWutils/llvm-build/llvmbuild/main.py41def mk_quote_string_for_target(value):CODE
LOWutils/llvm-build/llvmbuild/main.py596 def write_cmake_exports_fragment(self, output_path, enabled_optional_components):CODE
LOWutils/llvm-build/llvmbuild/main.py432 def get_required_libraries_for_component(self, ci, traverse_groups = False):STRING
LOWutils/llvm-build/llvmbuild/main.py463 def get_fragment_dependencies(self):STRING
LOWutils/llvm-build/llvmbuild/main.py708def add_magic_target_components(parser, project, opts):STRING
LOWutils/hct/hctjs.js299function ExpandEnvironmentVariables(name) {CODE
LOWutils/hct/hctjs.js313function ExtractContentsBetweenMarkers(path, contentOnly, isExclusion, startMarker, endMarker, callback) {CODE
LOWutils/hct/hctjs.js337function ExtractContentsBetweenMarkersForText(content, contentOnly, isExclusion, startMarker, endMarker, callback) {CODE
LOWutils/hct/hctjs.js823function WriteRecordSetToTextStreamAsAsciiTable(objRecordSet, stream) {CODE
LOWutils/hct/hctjs.js866function WriteRecordSetToTextStream(objRecordSet, separator, stream) {CODE
LOWutils/hct/hctdb_instrhelp.py181 def print_instruction_details(self):CODE
LOWutils/hct/hctdb_instrhelp.py485 def print_extended_table_opcode_enums(self):CODE
LOWutils/hct/hctdb_instrhelp.py525 def print_opfunc_props_for_table(self, table):CODE
LOWutils/hct/hctdb_instrhelp.py1008 def print_interpretation_table(self):CODE
LOWutils/hct/hctdb_instrhelp.py1186def wrap_with_ifdef_if_vulkan_specific(intrinsic, text):CODE
LOWutils/hct/hctdb_instrhelp.py1219def has_unsigned_hlsl_intrinsics():CODE
LOWutils/hct/hctdb_instrhelp.py1232def get_unsigned_hlsl_intrinsics():CODE
LOWutils/hct/hctdb_instrhelp.py1436def get_opcodes_rst_for_table(table):CODE
LOWutils/hct/hctdb_instrhelp.py1711def get_sem_interpretation_enum_rst():CODE
LOWutils/hct/hctdb_instrhelp.py1720def get_sem_interpretation_table_rst():CODE
LOWutils/hct/hctdb_instrhelp.py1731def get_extended_table_opcode_enum_decls():CODE
LOWutils/hct/hctdb_instrhelp.py1761def get_highest_released_shader_model():CODE
LOWutils/hct/hctdb_instrhelp.py1784def get_dxil_version_minor_int():CODE
LOWutils/hct/hctdb_instrhelp.py1920def build_shader_model_hash_idx_map():CODE
13 more matches not shown…
Structural Annotation Overuse33 hits · 60 pts
SeverityFileLineSnippetContext
LOWtools/clang/include/clang/SPIRV/AstTypeProbe.h134/// NOTE: This method doesn't handle Literal types correctly at the moment.COMMENT
LOW…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp241 // Step 2: generate node with bound return value: CEBNode -> BindedRetNode.COMMENT
LOW…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp278 // Step 3: BindedRetNode -> CleanedNodesCOMMENT
LOW⚡…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp310 // Step 4: Generate the CallExit and leave the callee's context.COMMENT
LOW⚡…ng/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp320 // Step 5: Perform the post-condition check of the CallExpr and enqueue theCOMMENT
LOW⚡tools/clang/lib/CodeGen/TargetInfo.cpp5558 // Step 1: Set ISR calling convention.COMMENT
LOW⚡tools/clang/lib/CodeGen/TargetInfo.cpp5561 // Step 2: Add attributes goodness.COMMENT
LOW⚡tools/clang/lib/CodeGen/TargetInfo.cpp5564 // Step 3: Emit ISR vector alias.COMMENT
LOWutils/lit/lit/Test.py84 # WARNING: The value may change before it is encoded again, and mayCOMMENT
LOWlib/DXIL/DxilShaderFlags.cpp397 // NOTE: This function is meant to compute shader flags for a single function,COMMENT
LOWlib/CodeGen/LiveRangeCalc.cpp56 // Step 1: Create minimal live segments for every definition of Reg.COMMENT
LOWlib/CodeGen/LiveRangeCalc.cpp115 // Step 2: Extend live segments to all uses, constructing SSA form asCOMMENT
LOW⚡lib/Transforms/InstCombine/InstCombineAddSub.cpp534 // Step 1: Expand the 1st addend into Opnd0_0 and Opnd0_1.COMMENT
LOW⚡lib/Transforms/InstCombine/InstCombineAddSub.cpp541 // Step 2: Expand the 2nd addend into Opnd1_0 and Opnd1_1.COMMENT
LOW⚡lib/Transforms/InstCombine/InstCombineAddSub.cpp545 // Step 3: Try to optimize Opnd0_0 + Opnd0_1 + Opnd1_0 + Opnd1_1COMMENT
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp699 // Step 1: Check if the # of instructions needed exceeds the quota.COMMENT
LOWlib/Transforms/Scalar/GVN.cpp1748 // Step 1: Find the non-local dependencies of the load.COMMENT
LOW⚡lib/Transforms/Scalar/GVN.cpp1780 // Step 2: Analyze the availability of the loadCOMMENT
LOW⚡lib/Transforms/Scalar/GVN.cpp1790 // Step 3: Eliminate fully redundancy.COMMENT
LOWlib/Transforms/Scalar/GVN.cpp1813 // Step 4: Eliminate partial redundancy.COMMENT
LOWlib/Transforms/Scalar/Reassociate.cpp1443 // Step 1: Convert ValueEntry to XorOpndCOMMENT
LOW⚡lib/Transforms/Scalar/Reassociate.cpp1462 // Step 2: Sort the Xor-Operands in a way such that the operands containingCOMMENT
LOW⚡lib/Transforms/Scalar/Reassociate.cpp1468 // Step 3: Combine adjacent operandsCOMMENT
LOWlib/Transforms/Scalar/Reassociate.cpp1509 // Step 4: Reassemble the OpsCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp474 // Step 1: Insert the ctpop instruction at the end of the precondition blockCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp497 // Step 2: Replace the precondition from "if(x == 0) goto loop-exit" toCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp516 // Step 3: Note that the population count is exactly the trip count of theCOMMENT
LOWlib/Transforms/Scalar/LoopIdiomRecognize.cpp560 // Step 4: All the references to the original population counter outsideCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp115 // Step 1: Convert SV_POSITION to UINTCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp141 // Step 2: Calculate pixel indexCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp183 // Step 1: Retrieve weight value from UAV; it will be placed after theCOMMENT
LOW⚡lib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp205 // Step 2: Update write position ("Index") to second half of the UAVCOMMENT
LOW⚡lib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp209 // Step 3: Increment UAV value by the weightCOMMENT
Decorative Section Separators18 hits · 57 pts
SeverityFileLineSnippetContext
MEDIUMtools/clang/test/CMakeLists.txt115# -------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/test/CMakeLists.txt117# -------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/test/CMakeLists.txt202# -------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/test/CMakeLists.txt254# -------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/test/CMakeLists.txt256# -------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/test/CMakeLists.txt275# -------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/utils/analyzer/SATestBuild.py53#------------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/utils/analyzer/SATestBuild.py55#------------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/utils/analyzer/SATestBuild.py136#------------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/utils/analyzer/SATestBuild.py138#------------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/clang/utils/analyzer/SATestBuild.py179#------------------------------------------------------------------------------COMMENT
MEDIUM⚡tools/clang/utils/analyzer/SATestBuild.py181#------------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/lib/Lex/CMakeLists.txt5# ----------------------------------------------------------------------------COMMENT
MEDIUMtools/clang/lib/Lex/CMakeLists.txt31# ----------------------------------------------------------------------------COMMENT
MEDIUMazure-pipelines/Integration.GitHub-to-DXC.yml1# -----------------------------------------------------------------------------COMMENT
MEDIUMazure-pipelines/Integration.GitHub-to-DXC.yml3# ----------------------------------------------------------------------------COMMENT
MEDIUMazure-pipelines/DXC.Main.Nightly.yml1# -----------------------------------------------------------------------------COMMENT
MEDIUMazure-pipelines/DXC.Main.Nightly.yml3# -----------------------------------------------------------------------------COMMENT
Unused Imports52 hits · 52 pts
SeverityFileLineSnippetContext
LOWtools/clang/tools/clang-format/clang-format-sublime.py15CODE
LOWtools/clang/utils/check_cfc/setup.py6CODE
LOWtools/clang/utils/check_cfc/obj_diff.py3CODE
LOWtools/clang/utils/check_cfc/check_cfc.py50CODE
LOWtools/clang/docs/tools/dump_format_style.py6CODE
LOWtools/clang/docs/tools/dump_format_style.py8CODE
LOWtools/clang/docs/analyzer/conf.py14CODE
LOWtools/clang/docs/analyzer/conf.py14CODE
LOW…clang/bindings/python/tests/cindex/test_diagnostics.py1CODE
LOWtools/clang/bindings/python/tests/cindex/test_cdb.py3CODE
LOWtools/clang/bindings/python/tests/cindex/test_cdb.py4CODE
LOWtools/clang/bindings/python/tests/cindex/test_cursor.py1CODE
LOW…bindings/python/tests/cindex/test_access_specifiers.py3CODE
LOW…bindings/python/tests/cindex/test_access_specifiers.py4CODE
LOWtools/clang/bindings/python/tests/cindex/test_index.py1CODE
LOWtools/clang/bindings/python/tests/cindex/test_tokens.py2CODE
LOW…ang/bindings/python/examples/cindex/cindex-includes.py19CODE
LOW…s/clang/bindings/python/examples/cindex/cindex-dump.py58CODE
LOWutils/update_llc_test_checks.py11CODE
LOWutils/update_llc_test_checks.py15CODE
LOWutils/prepare-code-coverage-artifact.py3CODE
LOWutils/llvm-build/llvmbuild/__init__.py1CODE
LOWutils/llvm-build/llvmbuild/componentinfo.py5CODE
LOWutils/llvm-build/llvmbuild/main.py1CODE
LOWutils/hct/ExtractIRForPassTest.py24CODE
LOWutils/hct/hctgen.py3CODE
LOWutils/hct/hctgen.py4CODE
LOWutils/hct/hctdb_instrhelp.py6CODE
LOWutils/hct/CodeTags.py45CODE
LOWutils/hct/hctdb_test.py6CODE
LOWutils/lit/lit/ShUtil.py1CODE
LOWutils/lit/lit/__init__.py3CODE
LOWutils/lit/lit/__init__.py4CODE
LOWutils/lit/lit/main.py9CODE
LOWutils/lit/lit/main.py10CODE
LOWutils/lit/lit/LitTestCase.py1CODE
LOWutils/lit/lit/TestRunner.py1CODE
LOWutils/lit/lit/LitConfig.py1CODE
LOWutils/lit/lit/formats/shtest.py1CODE
LOWutils/lit/lit/formats/__init__.py1CODE
LOWutils/lit/lit/formats/__init__.py2CODE
LOWutils/lit/lit/formats/__init__.py2CODE
LOWutils/lit/lit/formats/__init__.py2CODE
LOWutils/lit/lit/formats/__init__.py3CODE
LOWutils/lit/lit/formats/__init__.py4CODE
LOWutils/lit/lit/formats/__init__.py5CODE
LOWutils/lit/lit/formats/taef.py1CODE
LOWutils/lit/lit/formats/googletest.py1CODE
LOWutils/lit/lit/formats/base.py1CODE
LOWutils/lit/lit/formats/base.py3CODE
LOWutils/testgen/mc-bundling-x86-gen.py13CODE
LOWutils/version/gen_version.py30CODE
TODO Padding27 hits · 46 pts
SeverityFileLineSnippetContext
LOWtools/clang/tools/dxclib/dxc.cpp1526 // TODO: implement all other actions.COMMENT
LOW…lang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h1345 // TODO: implement CFG comparisonsCOMMENT
LOW…lang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h1409 // TODO: implement CFG comparisonsCOMMENT
LOW…lang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h1461 // TODO: implement CFG comparisonsCOMMENT
LOW…lang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h1653 // TODO: implement CFG comparisonsCOMMENT
LOW…lang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h1768 // TODO: implement CFG comparisonsCOMMENT
LOWtools/clang/unittests/dxc_batch/dxc_batch.cpp149 // TODO: implement all other actions.COMMENT
LOWtools/clang/unittests/SPIRV/SpirvTypeTest.cpp169// TODO: Add tests for HybridTypes.COMMENT
LOWtools/clang/unittests/HLSLHost/HLSLHost.cpp868 // TODO: implementCOMMENT
LOWtools/clang/lib/Sema/SemaDeclCXX.cpp2640 // TODO: implement -Wuninitialized and fold this into that framework.COMMENT
LOWtools/clang/lib/Sema/SemaHLSL.cpp3393 // TODO: implement template parameter constraints for HLSL intrinsic methodsCOMMENT
LOWinclude/llvm/Support/ScaledNumber.h656 // TODO: implement directly, rather than relying on inverse. Inverse isCOMMENT
LOW⚡utils/lint/cpp_lint.py35 # TODO: implement private headersCOMMENT
LOW⚡utils/lint/cpp_lint.py36 # TODO: implement gtest headersCOMMENT
LOW⚡utils/lint/cpp_lint.py37 # TODO: implement top-level llvm/* headersCOMMENT
LOW⚡utils/lint/cpp_lint.py38 # TODO: implement llvm/Support/* headersCOMMENT
LOWlib/Analysis/ValueTracking.cpp548 // TODO: implement unsigned bound from below (known one bits)COMMENT
LOWlib/Analysis/ValueTracking.cpp550 // TODO: implement other patterns from assume (e.g. V & B == A)COMMENT
LOWlib/DxcSupport/FileIOHelper.cpp910 // TODO: implement when we find this codepath internallyCOMMENT
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp968 // TODO: implement logic similar to checkRippleForAddCOMMENT
LOWlib/DebugInfo/DWARF/DWARFDebugFrame.cpp178 // TODO: implement thisCOMMENT
LOW⚡lib/HLSL/DxilContainerReflection.cpp815 // TODO: implement this check, if users actually depend on itCOMMENT
LOW⚡lib/HLSL/DxilContainerReflection.cpp821 // TODO: implement `class`-related features, if requestedCOMMENT
LOW⚡lib/HLSL/DxilContainerReflection.cpp827 // TODO: implement `class`-related features, if requestedCOMMENT
LOWlib/HLSL/DxilContainerReflection.cpp844 // TODO: implement `class`-related features, if requestedCOMMENT
LOWlib/HLSL/DxilPromoteResourcePasses.cpp128 // TODO: Add test for this instance of the error: "local resource notCOMMENT
LOWlib/HLSL/DxilPromoteResourcePasses.cpp226 // TODO: Add test for this instance of the error: "local resource notCOMMENT
Deep Nesting46 hits · 43 pts
SeverityFileLineSnippetContext
LOWtools/clang/docs/tools/dump_format_style.py70CODE
LOWutils/generate_hlsl_embedded_headers.py57CODE
LOWutils/embed_header.py49CODE
LOWutils/update_llc_test_checks.py56CODE
LOWutils/llvm-build/llvmbuild/main.py203CODE
LOWutils/hct/ExtractIRForPassTest.py76CODE
LOWutils/hct/hctdb_instrhelp.py1101CODE
LOWutils/hct/hctdb_instrhelp.py1482CODE
LOWutils/hct/hctdb_instrhelp.py1840CODE
LOWutils/hct/hctdb_instrhelp.py328CODE
LOWutils/hct/hctdb_instrhelp.py525CODE
LOWutils/hct/hctdb_instrhelp.py677CODE
LOWutils/hct/hctdb.py654CODE
LOWutils/hct/hctdb.py6676CODE
LOWutils/hct/hctdb.py6721CODE
LOWutils/hct/hctdb.py9661CODE
LOWutils/hct/hctdb.py9711CODE
LOWutils/hct/hctdb.py9903CODE
LOWutils/hct/hcttest-samples.py286CODE
LOWutils/hct/hcttest-samples.py418CODE
LOWutils/hct/CodeTags.py174CODE
LOWutils/hct/CodeTags.py469CODE
LOWutils/hct/CodeTags.py520CODE
LOWutils/hct/hcttest-system-values.py120CODE
LOWutils/hct/hcttest-system-values.py239CODE
LOWutils/hct/hctdb_test.py3530CODE
LOWutils/hct/VerifierHelper.py245CODE
LOWutils/hct/VerifierHelper.py296CODE
LOWutils/hct/VerifierHelper.py795CODE
LOWutils/hct/VerifierHelper.py894CODE
LOWutils/hct/VerifierHelper.py533CODE
LOWutils/hct/VerifierHelper.py600CODE
LOWutils/hct/VerifierHelper.py625CODE
LOWutils/hct/VerifierHelper.py729CODE
LOWutils/lit/lit/ShUtil.py45CODE
LOWutils/lit/lit/ShUtil.py86CODE
LOWutils/lit/lit/discovery.py194CODE
LOWutils/lit/lit/ProgressBar.py182CODE
LOWutils/lit/lit/TestingConfig.py16CODE
LOWutils/lit/lit/main.py134CODE
LOWutils/lit/lit/TestRunner.py36CODE
LOWutils/lit/lit/TestRunner.py391CODE
LOWutils/lit/lit/TestRunner.py486CODE
LOWutils/lit/lit/TestRunner.py534CODE
LOWutils/lit/lit/formats/googletest.py87CODE
LOWutils/testgen/mc-bundling-x86-gen.py41CODE
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…/bindings/python/tests/cindex/test_translation_unit.py165except:CODE
HIGHutils/generate_hlsl_embedded_headers.py63except OSError:CODE
HIGHutils/embed_header.py84except OSError:CODE
HIGHutils/hct/hcttest-system-values.py146except StopIteration:CODE
HIGHutils/hct/VerifierHelper.py737except:CODE
HIGHutils/hct/VerifierHelper.py337except:CODE
HIGHutils/lit/lit/TestRunner.py262except OSError:CODE
AI Response Leakage3 hits · 22 pts
SeverityFileLineSnippetContext
HIGHinclude/llvm/CodeGen/LiveInterval.h14// that v is live at i'. In this implementation ranges can have holes,COMMENT
HIGHlib/CodeGen/LiveInterval.cpp14// that v is live at i'. In this implementation ranges can have holes,COMMENT
HIGHlib/Transforms/Instrumentation/memorysanitizer.cpp75/// In this implementation, every atomically accessed location in the programCOMMENT
Slop Phrases12 hits · 20 pts
SeverityFileLineSnippetContext
LOW…/test/CXX/dcl.dcl/basic.namespace/namespace.def/p8.cpp76// Don't forget to do correct lookup for redeclarations.COMMENT
LOWtools/clang/lib/Frontend/HeaderIncludeGen.cpp84 // Unless we are exiting a #include, make sure to skip ahead to the line theCOMMENT
LOWtools/clang/lib/Frontend/PrintPreprocessedOutput.cpp252 // Unless we are exiting a #include, make sure to skip ahead to the line theCOMMENT
LOWtools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp3218 // Don't forget to add a ';'!!COMMENT
LOWtools/clang/lib/Basic/SourceManager.cpp202 // If this is a '#line 4' after '#line 42 "foo.h"', make sure to rememberCOMMENT
MEDIUMtools/clang/lib/Sema/SemaCast.cpp1760 // Feel free to modify them if you've reason/evidence for an alternative.COMMENT
LOW…ng/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp201 // Don't forget to negate the adjustment if it's being subtracted.COMMENT
LOWtools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp167 // Don't forget to update the pre-constructor initialization code inCOMMENT
MEDIUMinclude/llvm/ADT/EquivalenceClasses.h35/// Here is a simple example using integers:COMMENT
LOWutils/llvm-build/llvmbuild/main.py476 # Many components may come from the same file, so we make sure to uniqueSTRING
LOWutils/hct/hctdb_test.py731# make sure to pass in negative numbers with decimal values instead of hexadecimal representation.COMMENT
LOWlib/CodeGen/TwoAddressInstructionPass.cpp1133 // Move the old kill above MI, don't forget to move debug info as well.COMMENT
Redundant / Tautological Comments13 hits · 18 pts
SeverityFileLineSnippetContext
LOWtools/clang/test/lit.cfg557# Check if we should run long running tests.COMMENT
LOWtools/clang/test/lit.cfg561# Check if we should use gmalloc.COMMENT
LOWtools/clang/utils/check_cfc/check_cfc.py224 # Check if the input is recognised as a source file (this may be tooCOMMENT
LOWtools/clang/utils/analyzer/SATestBuild.py376 # Check if there are failures.COMMENT
LOWtest/lit.cfg327# Check if we should run long running tests.COMMENT
LOWtest/lit.cfg429# Check if we should use gmalloc.COMMENT
LOWutils/llvm-build/llvmbuild/componentinfo.py382 # Check if the value is defined.STRING
LOWutils/lit/lit/run.py61 # Check if we are canceled.COMMENT
LOWutils/lit/lit/discovery.py85 # Check if there is a local configuration file.COMMENT
LOWutils/lit/lit/discovery.py133 # Check if the user named a test directly.COMMENT
LOWutils/lit/lit/Test.py220 # Check if any of the xfails match an available feature or the target.COMMENT
LOWutils/release/findRegressions-nightly.py80 # Check if the test passed or failed.COMMENT
LOWutils/release/findRegressions-simple.py76 # Check if the test passed or failed.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtools/clang/lib/Sema/SemaOverload.cpp12411 // diagnostic, as requested.COMMENT
Modern Structural Boilerplate6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/clang/bindings/python/clang/enumerations.py34__all__ = ['TokenKinds']CODE
LOWtools/clang/bindings/python/clang/__init__.py23__all__ = ['cindex']STRING
LOWtools/clang/bindings/python/clang/cindex.py3586__all__ = [CODE
LOWtools/clang/bindings/python/tests/cindex/util.py71__all__ = [CODE
LOWutils/llvm-build/llvmbuild/util.py13__all__ = ['note', 'warning', 'error', 'fatal']CODE
LOWutils/lit/lit/__init__.py11__all__ = []CODE
Excessive Try-Catch Wrapping3 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMutils/hct/hctdb_instrhelp.py38 print(f"Error decoding JSON from {json_filepath}: {e}")CODE
LOWutils/hct/hcttest-samples.py267 except Exception as E:CODE
MEDIUMutils/hct/hcttest-samples.py485 print("Error: selected sample missing from sample map '" + name + "'.")CODE
AI Structural Patterns5 hits · 4 pts
SeverityFileLineSnippetContext
LOWutils/llvm-build/llvmbuild/main.py24CODE
LOWutils/llvm-build/llvmbuild/main.py39CODE
LOWutils/hct/hctdb_instrhelp.py1767CODE
LOWutils/hct/hctdb_instrhelp.py1776CODE
LOWutils/hct/hctdb_instrhelp.py1975CODE
Fake / Example Data2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/clang/include/clang-c/Index.h4278 * the template, or whether it is a "placeholder" that the user should replaceCOMMENT
LOWtools/clang/include/clang-c/Index.h4371 * A "placeholder" chunk marks a place where the user should insert textCOMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtools/clang/lib/Analysis/CFG.cpp271/// Example usage:COMMENT
LOWlib/Fuzzer/pull_and_push_fuzz_corpus.sh4# Usage:COMMENT