[all-commits] [llvm/llvm-project] ab3f10: Reland (2) "[AST] Add RParen loc for decltype Auto...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Jan 17 02:33:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab3f100bec03d72ecee947a323c51698d4b95207
      https://github.com/llvm/llvm-project/commit/ab3f100bec03d72ecee947a323c51698d4b95207
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-01-17 (Mon, 17 Jan 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.cpp
    M clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
    M clang-tools-extra/clangd/unittests/SelectionTests.cpp
    M clang-tools-extra/clangd/unittests/tweaks/ExpandAutoTypeTests.cpp
    M clang/include/clang/AST/TypeLoc.h
    M clang/lib/AST/TypeLoc.cpp
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaType.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/test/AST/ast-dump-template-decls-json.cpp
    M clang/test/AST/ast-dump-template-decls.cpp
    A clang/test/PCH/cxx14-decltype-auto.cpp
    M clang/unittests/AST/SourceLocationTest.cpp

  Log Message:
  -----------
  Reland (2) "[AST] Add RParen loc for decltype AutoTypeloc.""

The patch was reverted because it caused a crash during PCH build -- we
missed to update the RParenLoc in TreeTransform<Derived>::TransformAutoType.

This relands 55d96ac and 37ec65e with a test and fix.




More information about the All-commits mailing list