Commit cea012a1 authored by Leandro Melo's avatar Leandro Melo Committed by Leandro T. C. Melo
Browse files

C++: Fix BaseSpecifierAST::firstToken return

Change-Id: I105d94f543d22319571320cd88f791278aac3239

Reviewed-by: default avatarQt Sanity Bot <>
Reviewed-by: default avatarRoberto Raggi <>
parent 47f6cb39
......@@ -81,7 +81,7 @@ unsigned BaseSpecifierAST::firstToken() const
if (access_specifier_token)
return access_specifier_token;
if (name)
return name->firstToken();
// assert?
return 0;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment