| commit | cda209a9447c22c29eecc82109876b91863e4038 | [log] [tgz] |
|---|---|---|
| author | Douglas Gregor <dgregor@apple.com> | Fri Aug 17 05:26:33 2012 +0000 |
| committer | Douglas Gregor <dgregor@apple.com> | Fri Aug 17 05:26:33 2012 +0000 |
| tree | 88f0d102029512e8b90a043131ee1990e1fb7c99 | |
| parent | ebc3aa250be93f64641aaa8dccf64aa209f8a554 [diff] [blame] |
When we need the complete set of visible declarations from a declaration context, check whether the primary context---not the current context---has any external visible declarations. Fixes PR13616. llvm-svn: 162083
diff --git a/clang/test/Index/complete-preamble.h b/clang/test/Index/complete-preamble.h new file mode 100644 index 0000000..e696284 --- /dev/null +++ b/clang/test/Index/complete-preamble.h
@@ -0,0 +1,6 @@ +namespace std { + void wibble(); +} + +namespace std { +}