You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IRGen: Ignore local variable declaration in inline c functions
The existing code that walks back the declcontext parents did not work
for local declarations:
```
static inline void func() {
extern int global;
...
}
```
The global's declaration context is the file context.
We would end up in code generation for the global decl and assert that
it is not a `isFileVarDecl()`.
rdar://67951491
0 commit comments