summaryrefslogtreecommitdiff
path: root/source/slang/slang-doc-ast.cpp
diff options
context:
space:
mode:
authorSai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com>2023-04-28 16:22:12 -0400
committerGitHub <noreply@github.com>2023-04-28 13:22:12 -0700
commit2492ec59fb52c15d1658ab32f473521b40664168 (patch)
tree7569739846b16bda35577f6c33e37f46f99abfd4 /source/slang/slang-doc-ast.cpp
parentb07f4effda2f87ac9b3229e588121d224fd8cf52 (diff)
Fix handling of `[PreferRecompute]`. (#2855)
Co-authored-by: Yong He <yhe@nvidia.com> Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang/slang-doc-ast.cpp')
-rw-r--r--source/slang/slang-doc-ast.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/slang/slang-doc-ast.cpp b/source/slang/slang-doc-ast.cpp
index 4f0d310bf..dfe3b321c 100644
--- a/source/slang/slang-doc-ast.cpp
+++ b/source/slang/slang-doc-ast.cpp
@@ -57,8 +57,6 @@ static void _addDeclRec(Decl* decl, List<Decl*>& outDecls)
// If we don't have a loc, we have no way of locating documentation.
if (decl->loc.isValid() || decl->nameAndLoc.loc.isValid())
{
- if (as<AttributeDecl>(decl))
- printf("dd");
outDecls.add(decl);
}