[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
I've added parsing support for constexpr keyword in commit
http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=e55325538485fe691418c4b50c7a4d947239d95c. It included the following API changes:
ICPPASTDeclSpecifier
public boolean isConstexpr();
public void setConstexpr(boolean value);
IToken
int t_constexpr = 5400;
Keywords
public static final String CONSTEXPR = "constexpr";
public static final char[] cCONSTEXPR = "constexpr".toCharArray();
I've also added few new C++11 keywords:
IToken
int t_noexcept = 5401;
int t_thread_local = 5403;
Keywords
public static final String ALIGNAS = "alignas";
public static final String NOEXCEPT = "noexcept";
public static final String THREAD_LOCAL = "thread_local";
public static final char[] cALIGNAS = "alignas".toCharArray();
public static final char[] cNOEXCEPT = "noexcept".toCharArray();
public static final char[] cTHREAD_LOCAL = "thread_local".toCharArray();
-sergey