Closed user202729 closed 4 years ago
Reduced test-case:
namespace a {
inline namespace b {
using namespace a;
}
struct c;
namespace {
using a::c;
}
} // namespace a
@marxin Thank you so much!
I committed the fix in d83cbda. Thanks, @user202729 and @marxin !
(version: latest git master)
The file that crash the the program is rather large, but it can be obtained by preprocessing any file with
#include "range/v3/all.hpp"
.The infinite recursion happens in
lookupFunctionDeclShallow
. With this patch applied, the crash doesn't happen: (however the program might be incorrect)