Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
86c2367c
Commit
86c2367c
authored
Mar 24, 2010
by
Roberto Raggi
Browse files
In C++ 0x auto is a type specifier.
parent
933e5288
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/shared/cplusplus/Parser.cpp
View file @
86c2367c
...
...
@@ -3149,7 +3149,6 @@ bool Parser::lookAtStorageClassSpecifier() const
{
switch
(
LA
())
{
case
T_FRIEND
:
case
T_AUTO
:
case
T_REGISTER
:
case
T_STATIC
:
case
T_EXTERN
:
...
...
@@ -3175,6 +3174,7 @@ bool Parser::lookAtBuiltinTypeSpecifier() const
case
T_FLOAT
:
case
T_DOUBLE
:
case
T_VOID
:
case
T_AUTO
:
return
true
;
// [gcc] extensions
case
T___TYPEOF__
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment