[PATCH] D112914: Misleading identifier detection

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 9 10:16:11 PST 2021


aaronpuchert added inline comments.


================
Comment at: clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst:12
+
+.. code-block:: c
+
----------------
Sphinx can't parse that (perhaps unsurprisingly), could you declare that as having no language?

```
Warning, treated as error:
/home/buildbot/llvm-build-dir/clang-tools-sphinx-docs/llvm/src/clang-tools-extra/docs/clang-tidy/checks/misc-misleading-identifier.rst:12:Could not lex literal_block as "c". Highlighting skipped.
```

Should be reproducible by building `docs-clang-tools-html` (might need `-j1`).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112914/new/

https://reviews.llvm.org/D112914



More information about the cfe-commits mailing list