mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 17:46:04 +00:00

for a DeclContext, and fix propagation of exception specifications along redeclaration chains. This reverts r232905, r232907, and r232907, which reverted r232793, r232853, and r232853. One additional change is present here to resolve issues with LLDB: distinguish between whether lexical decls missing from the lookup table are local or are provided by the external AST source, and still look in the external source if that's where they came from. llvm-svn: 232928
7 lines
225 B
C++
7 lines
225 B
C++
// RUN: rm -rf %t
|
|
// RUN: %clang_cc1 -fexceptions -fcxx-exceptions -fmodules -fmodules-cache-path=%t -I%S/Inputs/update-exception-spec -emit-llvm-only %s
|
|
#include "a.h"
|
|
void use(B *p);
|
|
#include "c.h"
|
|
void use(B *p) { g(p); }
|