Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Enhancement: Support for recognizing Windows SAL annotations on functions #2

@rahul-ramadas

Description

@rahul-ramadas

In Windows driver code, it is common to have SAL annotations on functions like the following:

#include "pch.h"

_IRQL_requires_max_(PASSIVE_LEVEL)
NTSTATUS
DoSomething (
    _In_ UINT A
    )
{
    return STATUS_SUCCESS;
}

In Sublime Text 3, when I try to list the functions using Ctrl-R, it incorrectly lists the function name as _IRQL_requires_max_. I was wondering if you could enhance your language definition to recognize functions correctly in the presence of these annotations.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions