[all-commits] [llvm/llvm-project] c35f3f: Fix up clangd after clang commit llvmorg-11-init-1...

Richard Smith via All-commits all-commits at lists.llvm.org
Tue Apr 28 23:49:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c35f3f8679050df77a32512a73a94ba856190089
      https://github.com/llvm/llvm-project/commit/c35f3f8679050df77a32512a73a94ba856190089
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M clang-tools-extra/clangd/index/SymbolCollector.cpp

  Log Message:
  -----------
  Fix up clangd after clang commit llvmorg-11-init-13375-g0a088ead85f.

It's not clear whether clangd should really consider #import to mark a
header as self-contained or not, but this change preserves the old (and
unit-tested) behavior.


  Commit: 20df6038ee76f110640fc7c5fa9b96b84e373932
      https://github.com/llvm/llvm-project/commit/20df6038ee76f110640fc7c5fa9b96b84e373932
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-04-28 (Tue, 28 Apr 2020)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/TokenKinds.def
    M clang/lib/Basic/IdentifierTable.cpp
    M clang/lib/Format/Format.cpp
    M clang/lib/Lex/Preprocessor.cpp
    M clang/test/Lexer/char8_t.cpp

  Log Message:
  -----------
  Make -fno-char8_t disable the char8_t keyword, even in C++20.

This fixes a regression introduced in r354736, and makes our behavior
compatible with that of Clang 8 and GCC.


Compare: https://github.com/llvm/llvm-project/compare/52a6d47ada72...20df6038ee76


More information about the All-commits mailing list