Skip to content
Commit 081cbe96 authored by Richard Smith's avatar Richard Smith
Browse files

PR36157: When injecting an implicit function declaration in C89, find the right

DeclContext rather than injecting it wherever we happen to be.

This avoids creating functions whose DeclContext is a struct or similar.

llvm-svn: 323998
parent 8c4ca0bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment