[all-commits] [llvm/llvm-project] 59e188: D41416: [modules] [pch] Do not deserialize all laz...

Jonas Hahnfeld via All-commits all-commits at lists.llvm.org
Sun Feb 18 00:35:58 PST 2024


  Branch: refs/heads/users/vgvassilev/D41416_D153003
  Home:   https://github.com/llvm/llvm-project
  Commit: 59e1880df74434e3c446705788d92b5949d99536
      https://github.com/llvm/llvm-project/commit/59e1880df74434e3c446705788d92b5949d99536
  Author: Vassil Vassilev <v.g.vassilev at gmail.com>
  Date:   2024-02-18 (Sun, 18 Feb 2024)

  Changed paths:
    M clang/include/clang/AST/DeclTemplate.h
    M clang/lib/AST/DeclTemplate.cpp
    M clang/lib/AST/ODRHash.cpp
    M clang/lib/Serialization/ASTReader.cpp
    M clang/lib/Serialization/ASTReaderDecl.cpp
    M clang/lib/Serialization/ASTWriter.cpp
    M clang/lib/Serialization/ASTWriterDecl.cpp

  Log Message:
  -----------
  D41416: [modules] [pch] Do not deserialize all lazy template specializations when looking for one.


  Commit: 8208e3b7ca3edd50f6b40c5486e583e625aad4c8
      https://github.com/llvm/llvm-project/commit/8208e3b7ca3edd50f6b40c5486e583e625aad4c8
  Author: Jonas Hahnfeld <jonas.hahnfeld at cern.ch>
  Date:   2024-02-18 (Sun, 18 Feb 2024)

  Changed paths:
    M clang/lib/AST/ODRHash.cpp

  Log Message:
  -----------
  D153003: [ODRHash] Fix ODR hashing of template names

For hashing, we should not differentiate between templates and qualified
templates and only look at the underlying name. As an example, consider
the added test case of a template template parameter; the two modules
have slightly differing using declarations (using C = B<A> vs B<NS::A>)
which should be treated as identical.


Compare: https://github.com/llvm/llvm-project/compare/59e1880df744%5E...8208e3b7ca3e

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list