From 312bc007316f5df8c6cea19234d0c1df6032fe6d Mon Sep 17 00:00:00 2001 From: Casey Carter Date: Tue, 10 Sep 2024 19:29:49 -0700 Subject: [PATCH] Correct typo: `declspec` => `__declspec` --- docs/cpp/attributes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cpp/attributes.md b/docs/cpp/attributes.md index 5c3644f81c..961f2945bb 100644 --- a/docs/cpp/attributes.md +++ b/docs/cpp/attributes.md @@ -159,7 +159,7 @@ void f() { ### `[[msvc::noinline]]` -When placed before a function declaration, the Microsoft-specific attribute `[[msvc::noinline]]` has the same meaning as `declspec(noinline)`. +When placed before a function declaration, the Microsoft-specific attribute `[[msvc::noinline]]` has the same meaning as `__declspec(noinline)`. ### `[[msvc::noinline_calls]]`