[all-commits] [llvm/llvm-project] 62dea6: Revert "[AST] Build recovery expressions by defaul...

Haojian Wu via All-commits all-commits at lists.llvm.org
Thu Mar 26 08:25:56 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 62dea6e9be31b100962f9ad41c1b79467a53f6cd
      https://github.com/llvm/llvm-project/commit/62dea6e9be31b100962f9ad41c1b79467a53f6cd
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2020-03-26 (Thu, 26 Mar 2020)

  Changed paths:
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
    M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
    M clang/include/clang/Basic/LangOptions.def
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/lib/Sema/SemaExpr.cpp
    M clang/test/OpenMP/target_update_from_messages.cpp
    M clang/test/OpenMP/target_update_to_messages.cpp
    M clang/test/Parser/objcxx0x-lambda-expressions.mm
    M clang/test/Parser/objcxx11-invalid-lambda.cpp
    M clang/test/SemaCXX/builtins.cpp
    M clang/test/SemaCXX/cast-conversion.cpp
    M clang/test/SemaCXX/constructor-initializer.cpp
    M clang/test/SemaCXX/cxx1z-copy-omission.cpp
    M clang/test/SemaCXX/decltype-crash.cpp
    M clang/test/SemaCXX/varargs.cpp
    M clang/test/SemaOpenCLCXX/address-space-references.cl
    M clang/test/SemaTemplate/instantiate-init.cpp
    M clang/unittests/Sema/CodeCompleteTest.cpp

  Log Message:
  -----------
  Revert "[AST] Build recovery expressions by default for C++."

This reverts commit 0788acbccbec094903a3425ffe5a98f8d55cbd64.
This reverts commit c2d7a1f79cedfc9fcb518596aa839da4de0adb69:  Revert "[clangd] Add test for FindTarget+RecoveryExpr (which already works). NFC"

It causes a crash on invalid code:

class X {
  decltype(unresolved()) foo;
};
constexpr int s = sizeof(X);




More information about the All-commits mailing list