[all-commits] [llvm/llvm-project] f2ea85: Fix a crash on an invalid templated UDL declaration

Aaron Ballman via All-commits all-commits at lists.llvm.org
Fri Oct 15 07:00:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f2ea85255075606563370c9249f61dfad6a3f98b
      https://github.com/llvm/llvm-project/commit/f2ea85255075606563370c9249f61dfad6a3f98b
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2021-10-15 (Fri, 15 Oct 2021)

  Changed paths:
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/test/SemaCXX/literal-operators.cpp

  Log Message:
  -----------
  Fix a crash on an invalid templated UDL declaration

We were missing a null pointer check that a template parameter existed
at all.




More information about the All-commits mailing list