Repository Analysis

microsoft/DirectXShaderCompiler

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

5.1 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of microsoft/DirectXShaderCompiler, a C++ project with 3,630 GitHub stars. SynthScan v2.0 examined 2,481,722 lines of code across 7671 source files, recording 13048 pattern matches distributed across 20 syntactic categories. The overall adjusted score of 5.1 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

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

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 29MEDIUM 130LOW 12889

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 13048 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block12571 hits · 11719 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt441COMMENT
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
12511 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
MEDIUMutils/llvm-build/llvmbuild/main.py531# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py536# This file contains the LLVMBuild project information in a format easilyCOMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py539# This file is autogenerated by llvm-build, do not edit!COMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py667# This file is distributed under the University of Illinois Open SourceCOMMENT
MEDIUMutils/llvm-build/llvmbuild/main.py672# This file contains the LLVMBuild project information in a format easilyCOMMENT
MEDIUMutils/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.py1478 # 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
MEDIUMutils/lit/lit/run.py119 # This method is called in the child processes, and communicates theCOMMENT
MEDIUMutils/lit/lit/run.py124 # This method is called in the child processes, and communicates thatCOMMENT
MEDIUMutils/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
MEDIUMtools/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.cpp4629 // using 4 OpImageGather instructions. Otherwise, we can leverage theCOMMENT
MEDIUMtools/clang/lib/SPIRV/SpirvEmitter.cpp8356 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 Confusion25 hits · 111 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
HIGHutils/hct/query.py24 return falseSTRING
HIGHutils/hct/query.py32 return trueSTRING
HIGHutils/hct/query.py33 return falseSTRING
HIGHutils/hct/query.py46 return falseSTRING
HIGHutils/hct/hctdb_instrhelp.py1416 result += prefix + 'S.equals("%s")' % kCODE
HIGHutils/hct/hctdb_instrhelp.py1633 model_cond = "major > %d || (major == %d && minor >= %d)" % (CODE
HIGHutils/lit/lit/ShUtil.py332 self.assertEqual(self.parse('a && b'),CODE
HIGHutils/lit/lit/ShUtil.py337 self.assertEqual(self.parse('a || b'),CODE
HIGHutils/lit/lit/ShUtil.py342 self.assertEqual(self.parse('a && b || c'),CODE
HIGHutils/lit/lit/ShUtil.py342 self.assertEqual(self.parse('a && b || c'),CODE
Hyper-Verbose Identifiers73 hits · 70 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
LOWtools/clang/bindings/python/clang/cindex.py1422 def get_num_template_arguments(self):CODE
LOWtools/clang/bindings/python/clang/cindex.py1426 def get_template_argument_kind(self, num):CODE
LOWtools/clang/bindings/python/clang/cindex.py1431 def get_template_argument_type(self, num):CODE
LOWtools/clang/bindings/python/clang/cindex.py1435 def get_template_argument_value(self, num):CODE
LOWtools/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
LOWtools/clang/bindings/python/tests/cindex/test_type.py195def test_argument_types_negative_index():CODE
LOWtools/clang/bindings/python/tests/cindex/test_type.py204def test_argument_types_overflow_index():CODE
LOWtools/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
LOWtools/clang/bindings/python/tests/cindex/test_cursor.py257def test_get_num_template_arguments():STRING
LOWtools/clang/bindings/python/tests/cindex/test_cursor.py263def test_get_template_argument_kind():STRING
LOWtools/clang/bindings/python/tests/cindex/test_cursor.py271def test_get_template_argument_type():STRING
LOWtools/clang/bindings/python/tests/cindex/test_cursor.py277def test_get_template_argument_value():STRING
LOWtools/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.py1181def wrap_with_ifdef_if_vulkan_specific(intrinsic, text):CODE
LOWutils/hct/hctdb_instrhelp.py1214def has_unsigned_hlsl_intrinsics():CODE
LOWutils/hct/hctdb_instrhelp.py1227def get_unsigned_hlsl_intrinsics():CODE
LOWutils/hct/hctdb_instrhelp.py1431def get_opcodes_rst_for_table(table):CODE
LOWutils/hct/hctdb_instrhelp.py1682def get_sem_interpretation_enum_rst():CODE
LOWutils/hct/hctdb_instrhelp.py1691def get_sem_interpretation_table_rst():CODE
LOWutils/hct/hctdb_instrhelp.py1702def get_extended_table_opcode_enum_decls():CODE
LOWutils/hct/hctdb_instrhelp.py1732def get_highest_released_shader_model():CODE
LOWutils/hct/hctdb_instrhelp.py1755def get_dxil_version_minor_int():CODE
LOWutils/hct/hctdb_instrhelp.py1891def build_shader_model_hash_idx_map():CODE
13 more matches not shown…
Verbosity Indicators38 hits · 70 pts
SeverityFileLineSnippetContext
LOWtools/clang/lib/SPIRV/SpirvEmitter.cpp10671 // Step 1:COMMENT
LOWtools/clang/lib/SPIRV/SpirvEmitter.cpp10673 // Step 2:COMMENT
LOWtools/clang/lib/SPIRV/SpirvEmitter.cpp10677 // 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
LOWtools/clang/lib/CodeGen/TargetInfo.cpp5558 // Step 1: Set ISR calling convention.COMMENT
LOWtools/clang/lib/CodeGen/TargetInfo.cpp5561 // Step 2: Add attributes goodness.COMMENT
LOWtools/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
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp534 // Step 1: Expand the 1st addend into Opnd0_0 and Opnd0_1.COMMENT
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp541 // Step 2: Expand the 2nd addend into Opnd1_0 and Opnd1_1.COMMENT
LOWlib/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
LOWlib/Transforms/Scalar/GVN.cpp1780 // Step 2: Analyze the availability of the loadCOMMENT
LOWlib/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
LOWlib/Transforms/Scalar/Reassociate.cpp1462 // Step 2: Sort the Xor-Operands in a way such that the operands containingCOMMENT
LOWlib/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
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp205 // Step 2: Update write position ("Index") to second half of the UAVCOMMENT
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp209 // Step 3: Increment UAV value by the weightCOMMENT
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
LOWtools/clang/lib/CodeGen/TargetInfo.cpp5558 // Step 1: Set ISR calling convention.COMMENT
LOWtools/clang/lib/CodeGen/TargetInfo.cpp5561 // Step 2: Add attributes goodness.COMMENT
LOWtools/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.cpp395 // 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
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp534 // Step 1: Expand the 1st addend into Opnd0_0 and Opnd0_1.COMMENT
LOWlib/Transforms/InstCombine/InstCombineAddSub.cpp541 // Step 2: Expand the 2nd addend into Opnd1_0 and Opnd1_1.COMMENT
LOWlib/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
LOWlib/Transforms/Scalar/GVN.cpp1780 // Step 2: Analyze the availability of the loadCOMMENT
LOWlib/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
LOWlib/Transforms/Scalar/Reassociate.cpp1462 // Step 2: Sort the Xor-Operands in a way such that the operands containingCOMMENT
LOWlib/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
LOWlib/DxilPIXPasses/DxilAddPixelHitInstrumentation.cpp205 // Step 2: Update write position ("Index") to second half of the UAVCOMMENT
LOWlib/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
MEDIUMtools/clang/utils/analyzer/SATestBuild.py179#------------------------------------------------------------------------------COMMENT
MEDIUMtools/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 Imports56 hits · 56 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.py23CODE
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
LOWutils/git/code-format-save-diff.py15CODE
LOWutils/git/code-format-save-diff.py16CODE
LOWutils/git/code-format-save-diff.py17CODE
LOWutils/git/code-format-save-diff.py20CODE
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.cpp3366 // TODO: implement template parameter constraints for HLSL intrinsic methodsCOMMENT
LOWinclude/llvm/Support/ScaledNumber.h656 // TODO: implement directly, rather than relying on inverse. Inverse isCOMMENT
LOWutils/lint/cpp_lint.py35 # TODO: implement private headersCOMMENT
LOWutils/lint/cpp_lint.py36 # TODO: implement gtest headersCOMMENT
LOWutils/lint/cpp_lint.py37 # TODO: implement top-level llvm/* headersCOMMENT
LOWutils/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
LOWlib/HLSL/DxilContainerReflection.cpp815 // TODO: implement this check, if users actually depend on itCOMMENT
LOWlib/HLSL/DxilContainerReflection.cpp821 // TODO: implement `class`-related features, if requestedCOMMENT
LOWlib/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.py67CODE
LOWutils/hct/hctdb_instrhelp.py1101CODE
LOWutils/hct/hctdb_instrhelp.py1477CODE
LOWutils/hct/hctdb_instrhelp.py1811CODE
LOWutils/hct/hctdb_instrhelp.py328CODE
LOWutils/hct/hctdb_instrhelp.py525CODE
LOWutils/hct/hctdb_instrhelp.py677CODE
LOWutils/hct/hctdb.py651CODE
LOWutils/hct/hctdb.py6670CODE
LOWutils/hct/hctdb.py6715CODE
LOWutils/hct/hctdb.py9583CODE
LOWutils/hct/hctdb.py9632CODE
LOWutils/hct/hctdb.py9817CODE
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
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.cpp12398 // 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.py1738CODE
LOWutils/hct/hctdb_instrhelp.py1747CODE
LOWutils/hct/hctdb_instrhelp.py1946CODE
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