Unexpected token parse error
See original GitHub issueI just installed clang power tools and I’m getting the bellow error when I click on “Tidy” from the Visual Studio toolbar:
--- CLANG TIDY STARTED ---
At line:1 char:129
+ ... \extensions\oc44pdhs.5sd\Tooling\\v1\clang-build.ps1' -proj ) -file ( ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
--- CLANG TIDY FINISHED ---
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Parsing Error: Unexpected Token [3 Steps to Fix it]
The Parsing error unexpected token usually occurs when there is an incompatibility between the parser option and the code.
Read more >ESLint Parsing error: Unexpected token
Unexpected token errors in ESLint parsing occur due to incompatibility between your development environment and ESLint's current parsing ...
Read more >ESLint: “Parsing error: Unexpected token” in Visual Studio Code
Unexpected token errors are caused by incompatibilities in your parser options and the code you're writing. In this case, I'm using a number...
Read more >How to fix SyntaxError Unexpected Token in JSON
A common reason why the error “SyntaxError Unexpected Token in JSON” comes up is that we are trying to parse content that is...
Read more >SyntaxError: Unexpected token - JavaScript - MDN Web Docs
The JavaScript exceptions "unexpected token" occur when a specific language construct was expected, but something else was provided.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have had this same issue with clang power tools for the last year when using CMake based projects. A fix for this would be very helpful.
Hi,
A release with bugfix for this issue is available in new v2023.2.1 of Clang Power Tools
Thank you for your help
Have a nice day, Marina