llvm-project/mlir/utils
River Riddle fb5a59f6e1 [mlir][PDLL] Add initial support for a PDLL compilation database
The compilation database acts in a similar way to the compilation database
(compile_commands.json) used by clang-tidy, i.e. it provides additional
information about the compilation of project files to help the language
server. The main piece of information provided by the PDLL compilation
database in this commit is the set of include directories used when processing
the input .pdll file. This allows for the server to properly process .pdll files
that use includes anchored by the include directories set up in the build system.

The structure of the textual form of a compilation database is a yaml file
containing documents of the following form:

```
--- !FileInfo:
  filepath: <string> - Absolute file path of the file.
  includes: <string> - Semi-colon delimited list of include directories.
```

This commit also adds support to cmake for automatically generating
a `pdll_compile_commands.yml` file at the top-level of the build
directory.

Differential Revision: https://reviews.llvm.org/D124076
2022-04-26 18:33:17 -07:00
..
MLIRVisualizers Add a mlir natvis file for debugging with Visual Studio 2020-10-23 14:15:01 -07:00
clang-tidy Fix doc on how to run clang-tidy on MLIR codebase (NFC) 2022-01-03 07:00:07 +00:00
emacs [mlir] Fix a typo to load lsp-mode correctly. 2022-04-14 00:04:40 +00:00
gdb-scripts Update mlir GDB printers 2022-01-06 22:20:25 +01:00
jupyter [mlir][NFC] Update textual references of `func` to `func.func` in examples+python scripts 2022-04-20 22:17:26 -07:00
mbr [mlir] Set up boilerplate build for MLIR benchmarks 2022-01-27 21:38:15 +00:00
spirv [mlir][spirv] Fix SPIR-V spec parser 2022-02-22 14:07:46 +03:00
textmate [mlir][textmate] Add support for function visibility 2022-01-18 18:48:43 -08:00
vim [MLIR] Fix MLIR vim syntax file 2022-04-04 09:02:32 -07:00
vscode [mlir][PDLL] Add initial support for a PDLL compilation database 2022-04-26 18:33:17 -07:00
generate-test-checks.py Update MLIR generate-test-checks.py to add the notice from the source into the generated file 2021-09-20 23:19:40 +00:00