[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests ede9f83 214/316: Simplify alias
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests ede9f83 214/316: Simplify alias referencing and add tests. |
Date: |
Fri, 27 Jan 2017 20:03:41 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit ede9f831df602ebed31981f4f3696fdb23ca7513
Author: David Engster <address@hidden>
Commit: Edward John Steere <address@hidden>
Simplify alias referencing and add tests.
* lisp/cedet/semantic/analyze.el (semantic-analyze-dereference-alias):
Only dereference first tag, since at least for C++ this is enough.
(semantic-analyze-current-context-default): Adapt comment.
* tests/cedet/semantic/test/manual/cedet/testusing.cpp: Add tests for
the above.
---
test/manual/cedet/cedet/semantic/tests/testusing.cpp | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/test/manual/cedet/cedet/semantic/tests/testusing.cpp
b/test/manual/cedet/cedet/semantic/tests/testusing.cpp
index 3ab10ac..4dd42a3 100644
--- a/test/manual/cedet/cedet/semantic/tests/testusing.cpp
+++ b/test/manual/cedet/cedet/semantic/tests/testusing.cpp
@@ -173,6 +173,15 @@ void func10()
; //#14# ( "four" "three" )
}
+// Completion on namespace aliases
+void func11()
+{
+ alias_for_somestuff:://-15-
+ ; //#15# ( "OneClass" "aStruct")
+ alias_for_outerinner:://-16-
+ ; //#16# ( "AnotherStruct" "StructNested" )
+}
+
// make sure unfound using statements don't crash stuff.
using something::cantbe::Found;
@@ -180,7 +189,7 @@ void unfoundfunc()
{
NotFound notfound; // Variable can't be found.
- notfound.//-15-
- ; //#15# ( ) Nothing here since this is an undefined class
+ notfound.//-17-
+ ; //#17# ( ) Nothing here since this is an undefined class
}
- [Emacs-diffs] scratch/merge-cedet-tests 40f1fa1 163/316: Synchronize base 'cedet' with Emacs, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests 40f1fa1 163/316: Synchronize base 'cedet' with Emacs, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e54714f 227/316: Add header comments and provide., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests dfddc2d 262/316: (cit-make-dist): Use cit-check-compilation-for-error., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 6d5a631 277/316: Add header comments and provide., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 9b917c5 152/316: Major test restructure, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests c672504 249/316: etc/srecode/c.srt: New file, contents from cpp.srt, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests ecb61db 211/316: New test files combining macros and EDE, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e4d6b74 280/316: Use new create functions for db tools, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 0041d52 314/316: Add header comments and provide., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 0141378 247/316: Remove obsolete cvs-auto-updated 'X-RCS' line., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests ede9f83 214/316: Simplify alias referencing and add tests.,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests da4dd24 253/316: New test for testing ede/cpp-root projects., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests b0da906 144/316: New unit test for EDE project detection., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests ef840da 159/316: compdb: add project detection tests, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests fba6409 297/316: Add test for parsing local variables, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 658ff90 205/316: (cedet-utest): Add EDE sanity check to the end., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 99ad7b6 206/316: Added security test, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests 8989dc6 313/316: New Tests for ede-java-root-project type., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests e145e4d 088/316: ("Lisp"): Add cit-cpp, cit-el, cit-texi, cit-load, Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests aa72e43 200/316: Fix unit testing for several tests and do better error checking., Edward John Steere, 2017/01/27
- [Emacs-diffs] scratch/merge-cedet-tests b85662e 218/316: New file, derived from logging functions in cedet-utest.el, Edward John Steere, 2017/01/27