diff options
author | Sam McCall <sam.mccall@gmail.com> | 2021-07-17 02:10:16 +0200 |
---|---|---|
committer | Sam McCall <sam.mccall@gmail.com> | 2021-07-20 14:12:23 +0200 |
commit | 419001724542d4b0d3423a71f0d42857af6a6227 (patch) | |
tree | b0a7e12a45c7a82f5c83a84028541145644bece1 /llvm/lib/Object/SymbolicFile.cpp | |
parent | 978c5d8d2a785f085efac49c59fe9c129beb9363 (diff) | |
download | llvm-419001724542d4b0d3423a71f0d42857af6a6227.zip llvm-419001724542d4b0d3423a71f0d42857af6a6227.tar.gz llvm-419001724542d4b0d3423a71f0d42857af6a6227.tar.bz2 |
[clangd] Add tests covering existing header-guard behavior. NFC
A few different mechanisms here that will need some work to untangle:
- self-include in a preamble being an error even if the file is ifdef-guarded
- the is-include-guarded flag not being propagated from preamble to main ast
- preambles containing the first half on an include guard discard that info
For now just record current behavior.
Relevant to:
- https://github.com/clangd/clangd/issues/811
- https://github.com/clangd/clangd/issues/377
- https://github.com/clangd/clangd/issues/262
Differential Revision: https://reviews.llvm.org/D106201
Diffstat (limited to 'llvm/lib/Object/SymbolicFile.cpp')
0 files changed, 0 insertions, 0 deletions