diff options
| author | Sam McCall <sam.mccall@gmail.com> | 2019-05-03 13:17:29 +0000 |
|---|---|---|
| committer | Sam McCall <sam.mccall@gmail.com> | 2019-05-03 13:17:29 +0000 |
| commit | ec026532d62476a23ab4a84e9e9d44f74bcbcfb9 (patch) | |
| tree | 2793b8fd8d74f5fc7762001bb6b9e285a3fedf59 /llvm/lib/Target/RISCV/RISCVFrameLowering.cpp | |
| parent | 8ff072e48eceee35ff105d5d47853a9307302293 (diff) | |
| download | bcm5719-llvm-ec026532d62476a23ab4a84e9e9d44f74bcbcfb9.tar.gz bcm5719-llvm-ec026532d62476a23ab4a84e9e9d44f74bcbcfb9.zip | |
[clangd] Fix header-guard check for include insertion, and don't index header guards.
Summary:
Both of these attempt to check whether a header guard exists while parsing the
file. However the file is only marked as guarded once clang finishes processing
it. We defer the checks and work until SymbolCollector::finish().
This is ugly and ad-hoc, deferring *all* work might be cleaner.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, mgrang, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D61442
llvm-svn: 359880
Diffstat (limited to 'llvm/lib/Target/RISCV/RISCVFrameLowering.cpp')
0 files changed, 0 insertions, 0 deletions

