MaskRay / ccls

C/C++/ObjC language server supporting cross references, hierarchies, completion and semantic highlighting
Apache License 2.0
3.72k stars 254 forks source link

fix std::optional -> llvm::Optional for up-to-date upstream llvm 16.0.0. #925

Closed TuringKi closed 1 year ago

TuringKi commented 1 year ago

The upstream llvm seemed using llvm::Optional instead of std::optional for several apis.

MaskRay commented 1 year ago

6dc564f2a8608fff778a7d7e8ed0d5acd8d61e6b Adapt llvm::Optional deprecation fixed the build.