From f71d8c08fa05f1fb6d44ee73b2165a39433a5336 Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Wed, 13 Mar 2024 18:09:33 +0530 Subject: [PATCH] CI: Test for comment retention in clang-AST --- .github/workflows/CI.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b5955ab..a542f1b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -52,6 +52,9 @@ jobs: run: | export CPATH=$CONDA_PREFIX/include:$CPATH lc --show-clang-ast tests/test.cpp + lc --show-clang-ast --parse-all-comments tests/parse_comments_01.cpp > parse_comments_01.stdout + grep "TextComment" parse_comments_01.stdout + rm parse_comments_01.stdout lc examples/expr2.c --show-asr ./run_tests.py