[PATCH] D109894: [clangd] Bail-out when an empty compile flag is encountered

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 17 01:13:54 PDT 2021


kadircet updated this revision to Diff 373163.
kadircet added a comment.
Herald added a project: clang.

- Also handle OOB access while creating compiler invocation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109894

Files:
  clang-tools-extra/clangd/CompileCommands.cpp
  clang-tools-extra/clangd/Compiler.cpp
  clang-tools-extra/clangd/unittests/CompileCommandsTests.cpp
  clang-tools-extra/clangd/unittests/CompilerTests.cpp
  clang/lib/Frontend/CreateInvocationFromCommandLine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109894.373163.patch
Type: text/x-patch
Size: 4426 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210917/aaeda41d/attachment.bin>


More information about the cfe-commits mailing list