Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 01 Jul 2015 10:55:52 UTC Commit: f60b31385e4da74d3b926c8e0c8f97c00a508d7b https://github.com/geany/geany/commit/f60b31385e4da74d3b926c8e0c8f97c00a508d...
Log Message: ----------- c++: Handle C++11 noexcept
Modified Paths: -------------- tagmanager/ctags/c.c tests/ctags/Makefile.am tests/ctags/cxx11-noexcept.cpp tests/ctags/cxx11-noexcept.cpp.tags
Modified: tagmanager/ctags/c.c 4 lines changed, 3 insertions(+), 1 deletions(-) =================================================================== @@ -76,7 +76,7 @@ typedef enum eKeywordId KEYWORD_LOCAL, KEYWORD_LONG, KEYWORD_M_BAD_STATE, KEYWORD_M_BAD_TRANS, KEYWORD_M_STATE, KEYWORD_M_TRANS, KEYWORD_MODULE, KEYWORD_MUTABLE, - KEYWORD_NAMESPACE, KEYWORD_NEW, KEYWORD_NEWCOV, KEYWORD_NATIVE, + KEYWORD_NAMESPACE, KEYWORD_NEW, KEYWORD_NEWCOV, KEYWORD_NATIVE, KEYWORD_NOEXCEPT, KEYWORD_OPERATOR, KEYWORD_OUT, KEYWORD_OUTPUT, KEYWORD_OVERLOAD, KEYWORD_OVERRIDE, KEYWORD_PACKED, KEYWORD_PORT, KEYWORD_PACKAGE, KEYWORD_PRIVATE, KEYWORD_PROGRAM, KEYWORD_PROTECTED, KEYWORD_PUBLIC, @@ -457,6 +457,7 @@ static const keywordDesc KeywordTable [] = { { "native", KEYWORD_NATIVE, { 0, 0, 0, 1, 0, 0, 0 } }, { "new", KEYWORD_NEW, { 0, 1, 1, 1, 0, 1, 1 } }, { "newcov", KEYWORD_NEWCOV, { 0, 0, 0, 0, 1, 0, 0 } }, + { "noexcept", KEYWORD_NOEXCEPT, { 0, 1, 0, 0, 0, 0, 0 } }, { "operator", KEYWORD_OPERATOR, { 0, 1, 1, 0, 0, 0, 0 } }, { "out", KEYWORD_OUT, { 0, 0, 0, 0, 0, 1, 1 } }, { "output", KEYWORD_OUTPUT, { 0, 0, 0, 0, 1, 0, 0 } }, @@ -2242,6 +2243,7 @@ static boolean skipPostArgumentStuff (statementInfo *const st, case KEYWORD_ATTRIBUTE: skipParens (); break; case KEYWORD_THROW: skipParens (); break; case KEYWORD_CONST: break; + case KEYWORD_NOEXCEPT: break; case KEYWORD_TRY: break; case KEYWORD_VOLATILE: break;
Modified: tests/ctags/Makefile.am 1 lines changed, 1 insertions(+), 0 deletions(-) =================================================================== @@ -133,6 +133,7 @@ test_sources = \ cython_sample2.pyx \ cxx11enum.cpp \ cxx11-final.cpp \ + cxx11-noexcept.cpp \ cxx11-override.cpp \ db-trig.sql \ debian_432872.f90 \
Modified: tests/ctags/cxx11-noexcept.cpp 7 lines changed, 7 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,7 @@ +class Base +{ +public: + virtual void foo() noexcept = 0; + virtual void bar() const noexcept = 0; + int baz() noexcept { return 42; } +};
Modified: tests/ctags/cxx11-noexcept.cpp.tags 5 lines changed, 5 insertions(+), 0 deletions(-) =================================================================== @@ -0,0 +1,5 @@ +# format=tagmanager +Base�1�0 +bar�1024�()�Base�0�virtual void +baz�16�()�Base�0�int +foo�1024�()�Base�0�virtual void
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).