Skip to content

Not checking special operators #14508

@Sumsum10

Description

@Sumsum10

Environment

  • OS and Version: Ubuntu
  • VS Code Version: 1.124.0
  • C/C++ Extension Version: 1.32.2

Bug Summary and Steps to Reproduce

Bug Summary:

Steps to reproduce:

  1. Open or create a file with a usage of a &operator= function at a class (the path to the source file need to be known by the C/C++ extension
  2. Wait till Intilsense has processed the file
  3. See the error
    Expected behavior:
    Don't mark as error.

Configuration and Logs

The configuration:
{
    "configurations": [
        {
            "name": "Linux",
            "includePath": [
                "${workspaceFolder}/**",
                "/home/user/.arduino15/packages/arduino/hardware/mbed_giga/4.6.0/**"
            ],
            "defines": [],
            "compilerPath": "/usr/bin/clang",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "linux-clang-x64"
        }
    ],
    "version": 4
}
Please note: I'm using VS Code to code the libary, but the Arduino IDE for compiling.

Other Extensions

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

Type

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions