Comments (6)
@HighCommander4 can you please help?
from clangd.
My first suggestion would be to try using the latest version, clangd 18. It can be obtained from https://github.com/clangd/clangd/releases/tag/18.1.3.
from clangd.
@HighCommander4, I tried with the clangd v18 as suggested but i get the same result.
from clangd.
I do see the file you're opening has an error diagnostic (In included file: typedef redefinition with different types ('__time_t' (aka 'long') vs '__time64_t' (aka 'long long'))
), I wonder if that is related. (I'd say probably not, unless the symbol you're searching for uses time_t
in its type or signature?)
from clangd.
I think it is not related. If that is the case then after opening the file should also not work, right?
Anyways, I tried after commenting the error diagnostic include file as well. Still no luck. :(
from clangd.
Yeah, I guess the issue is not related to the time_t error.
I looked through the logs but nothing else jumps out as a potential cause of the problem.
So making further progress on this is likely to require sharing an example project that reproduces the issue, and then debugging what happens there. (Unfortunately, assuming this is a Windows-specific issue, it won't be me doing the debugging as I don't have a Windows machine these days.)
from clangd.
Related Issues (20)
- Clangd crashes while parsing invalid code HOT 3
- Weekly snapshot releases are not being published again, since 20240421
- Don`t work in vs code with qt6 HOT 1
- clangd-indexer aborts while creating index file HOT 2
- Add header-insertion: never option to .clangd config HOT 3
- Template arguments in placeholder's type-constraint are not selected correctly. HOT 2
- clangd do not recognise headers located in pch HOT 2
- Call hierarchy points to an empty line HOT 3
- Issue with Clang Tools on Windows using Cygwin64 for a C++17 project with <mutex> HOT 8
- Unused header warning for placement new
- headers from pch are not recognized inside project HOT 8
- clangd does not detect C++17 or newer features when compiled with CMake 3.28 + Ninja on Windows HOT 8
- omit `self` when clangd compltes member function with explicit self HOT 4
- Include Cleaner fails for symbols forward-declared and aliased
- Include cleaner recommends removing includes needed for casts to related types
- Unsupported argument 'cortex-a76.cortex-a55' to option '-mcpu='clang(drv_unsupported_option_argument) HOT 1
- Clangd sometimes fails to deduce non-dependent type inside template HOT 3
- Clangd throws error on working code with CUDA HOT 6
- Include Cleaner doesn't include headers needed by default template arguments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clangd.