Skip to content

outline view work abnormal with <linux/list.h> #84989

@luantu

Description

@luantu

Issue Type: Bug

#include <stdlib.h>
#include <linux/list.h>

struct list_head test_head;

struct test {
    int test;
    struct  list_head node;
};

static void test()
{
    struct test *test;

    list_for_each_entry(test, &test_head, node) {
        printf("%d\n", test->test);
    }
}

outline expected: function test,
but list_for_each_entry ..

image

VS Code version: Code 1.40.1 (8795a98, 2019-11-13T16:49:35.976Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (4 x 3192)
GPU Status 2d_canvas: unavailable_software
flash_3d: disabled_software
flash_stage3d: disabled_software
flash_stage3d_baseline: disabled_software
gpu_compositing: disabled_software
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: disabled_off
rasterization: disabled_software
skia_renderer: disabled_off
surface_control: disabled_off
surface_synchronization: enabled_on
video_decode: disabled_software
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Load (avg) undefined
Memory (System) 7.91GB (1.41GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (29)
Extension Author (truncated) Version
code-gnu-global aus 0.2.2
thief-book C-T 0.0.9
highlight-line-vscode cli 0.0.1
vsc-material-theme Equ 30.0.0
c-cpp-flylint jbe 1.2.4
csharpextensions jch 1.3.1
docomment k-- 0.1.8
vscode-sshfs Kel 1.16.3
Lua key 0.0.9
vscode-simple-icons Lau 1.11.10
VS-code-drupal mar 0.0.12
yang mar 0.1.3
theme-monokai-pro-vscode mon 1.1.14
vscode-language-pack-zh-hans MS- 1.40.2
remote-ssh ms- 0.47.2
remote-ssh-edit ms- 0.47.2
vscode-remote-extensionpack ms- 0.17.0
cpptools ms- 0.26.2-insiders
csharp ms- 1.21.7
debugger-for-chrome msj 4.12.1
korofileheader OBK 4.3.1
material-icon-theme PKi 3.9.1
highlight-words rsb 0.1.4
code-settings-sync Sha 3.4.3
guides spy 0.9.3
vscodeintellicode Vis 1.2.0
vscode-icons vsc 9.5.0
vscode-todo-highlight way 1.0.4
jinja who 0.0.8

(4 theme extensions excluded)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions