Haojian Wu

Results 28 issues of Haojian Wu

Electron has supported [`webRequest`](https://github.com/atom/electron/blob/master/docs/api/session.md#seswebrequest) API as chrome's [`webrequest`](https://developer.chrome.com/extensions/webRequest). A good reference is from https://developer.chrome.com/extensions/samples#search:webrequest

Clang has recently [addressed](https://reviews.llvm.org/D130058) an https://github.com/llvm/llvm-project/issues/50055 where it failed to diagnose the UB of casting an out-of-range integer to an enum in a constant expression. Since undefined behavior is not...

moved from https://github.com/clangd/clangd/issues/385 ## The code with a problem is: ``` #pragma once #if 1 # define MACRO(attr) [[attr]] #else # define MACRO(attr) #endif struct S { MACRO(deprecated("some unrecognized string...

Fixes #60 After discussing with @patrickklug, currently we have no plan to support steam controller APIs since these APIs are too specific. This PR exposes the Steam Big Picture APIs:...

in progress

Open `clangd/unittests/tweaks/MemberwiseConstructorTests.cpp` with the trunk clangd:

bug

**Problem** Type `C++` in the "Find or Create Page" panel **Screenshots/Demo** ``` message=Uncaught SyntaxError: Invalid regular expression: /C++/: Nothing to repeat source=file:///Applications/Athens.app/Contents/Resources/app.asar/resources/public/js/compiled/renderer.js lineno=960 colno=436 error=SyntaxError: Invalid regular expression: /C++/: Nothing...

we have features that are not listed in doc: - the LSP extension offered by this vscode-clangd, e.g. view AST, dump memory usage, header-source switch; - cover more code-actions offered...

documentation

testcase: ``` void (Class::*member_function_ptr)(int); ``` tree-sitter output: ``` declaration [0, 0] - [0, 40]) type: primitive_type [0, 0] - [0, 4]) declarator: function_declarator [0, 5] - [0, 39]) declarator: parenthesized_declarator...

bug

Example: ```cpp void test(int a) { // tree-sitter output is // expression_statement [1, 3] - [1, 10]) // compound_literal_expression [1, 3] - [1, 9]) // type: type_identifier [1, 3] -...

bug