[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/merge-cedet-tests fb82965 136/316: Test `this' fro
From: |
Edward John Steere |
Subject: |
[Emacs-diffs] scratch/merge-cedet-tests fb82965 136/316: Test `this' from in inline member functions |
Date: |
Sat, 28 Jan 2017 09:09:54 +0000 (UTC) |
branch: scratch/merge-cedet-tests
commit fb82965eefbeadb060c0a75310c1560104c00fe9
Author: David Engster <address@hidden>
Commit: Edward John Steere <address@hidden>
Test `this' from in inline member functions
* tests/cedet/semantic/test/manual/cedet/testsubclass.cpp: Add test
for 'this' in inline member function.
---
.../cedet/cedet/semantic/tests/testsubclass.cpp | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
b/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
index ede4b37..68d48e8 100644
--- a/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
+++ b/test/manual/cedet/cedet/semantic/tests/testsubclass.cpp
@@ -210,21 +210,21 @@ int otherFunction()
bool sneaky::antelope::testAccess() //^7^
{
- this.// -12-
+ this->// -12-
// #12# ( "fAntyPrivate" "fAntyProtected" "fAntyPublic" "fQuadProtected"
"fQuadPublic" "testAccess" )
;
}
bool sneaky::jackalope::testAccess() //^8^
{
- this.// -13-
+ this->// -13-
// #13# ( "fBunnyPrivate" "fBunnyProtected" "fBunnyPublic"
"fQuadProtected" "fQuadPublic" "testAccess" )
;
}
bool sneaky::bugalope::testAccess() //^9^
{
- this.// -14-
+ this->// -14-
// #14# ( "fBugPrivate" "fBugProtected" "fBugPublic" "fQuadPublic"
"testAccess" )
;
}
@@ -238,3 +238,14 @@ namespace deer {
{
}
}
+
+// Test 'this' in inline methods
+// See rev. 8488f.
+class outer {
+ int asdf;
+ int qwer;
+ char inlineMethod(void) {
+ this->// -16-
+ // #16# ( "asdf" "inlineMethod" "qwer" )
+ }
+};
- [Emacs-diffs] scratch/merge-cedet-tests a6f2191 103/316: (Lisp): Add cit-arduino, (continued)
- [Emacs-diffs] scratch/merge-cedet-tests a6f2191 103/316: (Lisp): Add cit-arduino, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 302b4d7 107/316: eieio: Move to obsolete and use the one that ships with Emacs, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ee352df 113/316: How to use the cit-test.sh script., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests f91e2ce 114/316: New pretend system include for cpproot test., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests d2dcc15 112/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 34041d4 120/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests d08bd3b 117/316: C/C++: Fix function pointer parsing, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 3a7b458 110/316: Fixes for security tests, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ceb9293 130/316: Move tests in cedet/semantic, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 6d9366a 135/316: Make 'this' a pointer., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests fb82965 136/316: Test `this' from in inline member functions,
Edward John Steere <=
- [Emacs-diffs] scratch/merge-cedet-tests 64c305b 137/316: Test files contributed by Barry OReilly, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests c132878 122/316: Make unit tests use randomized file names, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 0897a28 127/316: Test file for Project.ede proj., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests f3a937b 143/316: Test project file., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 876d3e9 138/316: New EDE project for testing dirmatch features., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 8900419 148/316: Added arduino project detection, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 19ff260 128/316: Synchronize cedet/semantic with Emacs., Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests cd08101 179/316: Added cit uml, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests ebff99d 215/316: Another 'using namespace' fix, Edward John Steere, 2017/01/28
- [Emacs-diffs] scratch/merge-cedet-tests 40f1fa1 163/316: Synchronize base 'cedet' with Emacs, Edward John Steere, 2017/01/28