[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests 75c52c3 055/316: (ms_structs, fu
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests 75c52c3 055/316: (ms_structs, fun): New test example from Marting Stein. |
Date: |
Fri, 27 Jan 2017 20:03:27 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit 75c52c3f59b7f50a6144f58dfe9be615ab0e08dc
Author: Eric Ludlam <address@hidden>
Commit: Edward John Steere <address@hidden>
(ms_structs, fun): New test example from Marting Stein.
---
test/manual/cedet/cedet/semantic/tests/testnsp.cpp | 44 ++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/test/manual/cedet/cedet/semantic/tests/testnsp.cpp
b/test/manual/cedet/cedet/semantic/tests/testnsp.cpp
index f2ed0e4..2557ed9 100644
--- a/test/manual/cedet/cedet/semantic/tests/testnsp.cpp
+++ b/test/manual/cedet/cedet/semantic/tests/testnsp.cpp
@@ -57,3 +57,47 @@ void AAA::aaa()
d->// -2-
; // #2# ( "bbb" )
}
+
+// #include files inside a namespace
+// David Engster <address@hidden>
+// See revisions 8034-8037 which implement this.
+
+namespace another {
+ #include "testdoublens.hpp"
+}
+
+void foo(void) {
+
+ another::// -3-
+ ; // #3# ( "Name1" "a" "stage3_Foo" )
+
+ another::Name1::Name2::Foo a;
+
+ a.// -4-
+ ; // #4# ( "Mumble" "get" )
+}
+
+// What happens if a type your looking for is scoped withing a type,
+// but you are one level into the completion so the originating scope
+// excludes the type of the variable you are completing through?
+// Thanks Martin Stein for this nice example.
+namespace ms_structs
+{
+ struct aaa
+ {
+ int xx;
+ };
+ struct bbb
+ {
+ struct aaa yy;
+ };
+}
+int fun()
+{
+ using namespace ms_structs;
+ struct bbb zz;
+ int uu = zz.// -5-
+ ; // #5# ( "yy" )
+ int kk = zz.yy.// -6-
+ ; // #6# ( "xx" )
+}
\ No newline at end of file
- [Emacs-diffs] scratch/merge-cedet-tests b13b432 031/316: (LOADPATH): Add contrib. (Misc): New (dist): Add Misc, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests b13b432 031/316: (LOADPATH): Add contrib. (Misc): New (dist): Add Misc, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 42e1106 034/316: (Lisp_LISP): Add cit-uml.el (Misc_MISC): Add cit-uml.cgr, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 115a9d4 038/316: (Lisp_LISP): Add cit-symref.el, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 467bfc2 036/316: (ELISPPRELOAD): New (Lisp): Use preloads., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 924fef0 039/316: (Lisp_LISP): Add cit-externaldb.el, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 1d79c16 042/316: Remove obsolete cvs-auto-updated 'X-RCS' line., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 00080fd 043/316: Validate project overrides, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 9a436ca 047/316: (func): Add local8 with a ternary conditional., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 1c4ec31 045/316: Add test for parsing local variables, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 9bda61f 050/316: (cit-symref-quick-find-test): New. (cit-symref-count): Add a small wait of .1., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 75c52c3 055/316: (ms_structs, fun): New test example from Marting Stein.,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests f38d3d0 041/316: SRecoder feature testing., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e915cb9 035/316: (LOADPATH): Add cogre to the load path., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d8b5630 060/316: Patch from Marcus Harnisch, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d4d1014 061/316: Add -f toggle-debug-on-quit flag, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c9de94f 064/316: * cit-test.sh: Add support for running in batch mode., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests d8f7f9c 066/316: * tests/cit-test.sh: Fix filename for integration test., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 6f0f898 065/316: * cedet-load.el: Load cogre autoloads., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 8e1fe2d 067/316: Accept any potential project directory during testing, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 83c8dc0 068/316: Use random temporary directory for integration tests, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 66b117d 071/316: Test files contributed by Barry OReilly, Edward John Steere, 2017/01/27