Skip to content

Commit 4a740ed

Browse files
Merge pull request #5868 from MicrosoftDocs/main639011162766378322sync_temp
For protected branch, push strategy should use PR and merge to target branch method to work around git push error
2 parents 02f4ecc + 931fd88 commit 4a740ed

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/build/clang-support-msbuild.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Clang/LLVM support in Visual Studio projects"
33
description: "Learn more about: Clang/LLVM support in Visual Studio projects"
4-
ms.date: 03/13/2024
4+
ms.date: 12/11/2025
55
ms.description: "Configure a Visual Studio MSBuild project to use the Clang/LLVM toolchain."
66
helpviewer_keywords: ["Clang support for C++ MSBuild projects"]
77
---
@@ -49,6 +49,10 @@ The Individual components tab is selected in the installer. C++ Clang Compiler f
4949
::: moniker range=">=msvc-160"
5050
Later versions of Visual Studio provide newer versions of the Clang toolset. The bundled version of Clang gets updated automatically to stay current with updates in the Microsoft implementation of the Standard Library. For example, Visual Studio 2019 version 16.11 includes Clang v12.
5151

52+
The LLVM experience in Visual Studio delivers seamless build support, project system integration, and design-time features that work with your choice of LLVM distributions. For acquisition convenience, we provide an optional LLVM binary distribution with Visual Studio. This LLVM toolset is provided as-is, sourced directly from the [LLVM Foundation’s release page](https://github.com/llvm/llvm-project/releases) without modifications by Microsoft. The installed binaries are digitally signed with a third-party Microsoft code signing certificate to mark their third-party status and to confirm that they were obtained from the LLVM Foundation’s release page.
53+
54+
LLVM updates in Visual Studio are typically aligned with major LLVM releases ahead of a Visual Studio general release. However, if the community or partners report security or critical blocking issues addressed in a minor LLVM release, we prioritize updating the bundled LLVM toolset to a newer minor version containing the fix. Visual Studio’s build and project system supports using your own custom LLVM installation if needed.
55+
5256
## Configure a Windows project to use Clang tools
5357

5458
To configure a Visual Studio project to use Clang, right-click on the project node in **Solution Explorer** and choose **Properties**. Typically, you should first choose **All configurations** at the top of the dialog. Then, under **General** > **Platform Toolset**, choose **LLVM (clang-cl)** and then **OK**.
@@ -111,12 +115,12 @@ When you add a `Directory.build.props` file to a project or solution, the settin
111115

112116
## Set properties, edit, build, and debug
113117

114-
After you have set up a Clang configuration, right-click again on the project node and choose **Reload project**. You can now build and debug the project using the Clang tools. Visual Studio detects that you're using the Clang compiler and provides IntelliSense, highlighting, navigation, and other editing features. Errors and warnings are displayed in the **Output Window**. The project property pages for a Clang configuration are similar to the ones for MSVC. However, some compiler-dependent features such as Edit and Continue aren't available for Clang configurations. You can set a Clang compiler or linker option that isn't available in the property pages. Add it manually in the property pages under **Configuration Properties** > **C/C++ (or Linker)** > **Command Line** > **Additional Options**.
118+
After you set up a Clang configuration, right-click again on the project node and choose **Reload project**. You can now build and debug the project using the Clang tools. Visual Studio detects that you're using the Clang compiler and provides IntelliSense, highlighting, navigation, and other editing features. Errors and warnings are displayed in the **Output Window**. The project property pages for a Clang configuration are similar to the ones for MSVC. However, some compiler-dependent features such as Edit and Continue aren't available for Clang configurations. You can set a Clang compiler or linker option that isn't available in the property pages. Add it manually in the property pages under **Configuration Properties** > **C/C++ (or Linker)** > **Command Line** > **Additional Options**.
115119

116120
When debugging, you can use breakpoints, memory and data visualization, and most other debugging features.
117121

118122
:::image type="complex" source="media/clang-debug-msbuild.png" alt-text="Screenshot of Visual Studio debugging a sample app":::
119-
The portion of the app that is visible creates a string vector and adds some strings to it. Execution has stopped on a breakpoint for the code: v.push_back("Clang/LLVM");.
123+
The portion of the app that's visible creates a string vector and adds some strings to it. Execution stopped on a breakpoint for the code v.push_back("Clang/LLVM");.
120124
:::image-end:::
121125

122126
::: moniker-end

docs/build/use-github-copilot-create-cpp-console-app.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ title: Use AI to create a C++ console application in Visual Studio
33
description: "Learn how to use GitHub Copilot to create a C++ app using Microsoft C++ in Visual Studio."
44
ms.date: 10/24/2025
55
ms.topic: "tutorial"
6+
ms.collection: ce-skilling-ai-copilot
67
ms.custom:
78
- ai-assisted
89
- copilot-scenario-highlight
9-
- ce-skilling-ai-copilot
10-
- ms.update-cycle: 180 days
10+
ms.update-cycle: 180-days
1111
---
1212

1313
# Use AI to create a C++ console application in Visual Studio

0 commit comments

Comments
 (0)