question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unexpected token parse error

See original GitHub issue

I 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:closed
  • Created a year ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Notallthatevilcommented, Dec 14, 2022

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.

0reactions
mariru27commented, Feb 14, 2023

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found