Skip to content

Fix git push error for protected CLA branch #2080

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 102 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
102 commits
Select commit Hold shift + click to select a range
d8d3d6d
change ms.topic to reference
gewarren Dec 14, 2018
faca936
rearrange toc
gewarren Dec 14, 2018
5cb9401
Add docs for new C++ CA warnings
kylereedmsft Dec 15, 2018
a824b00
Add TOC for new items
kylereedmsft Dec 15, 2018
a2d57cb
Rewording docs according to scanner feedback.
kylereedmsft Dec 15, 2018
d70913f
Fix typo in author name
kylereedmsft Dec 15, 2018
6940cc4
More rewording for scanner feedback
kylereedmsft Dec 15, 2018
7fcf410
add suggest a feature images and blog link, and update toc
gewarren Dec 17, 2018
7d2893c
updated links
Mikejo5000 Dec 17, 2018
313dde6
updated links
Mikejo5000 Dec 17, 2018
01acf6b
link fixes
Mikejo5000 Dec 17, 2018
5310f2e
rename buildprojectonload to buildonload, and note that it's an attri…
gewarren Dec 17, 2018
75aa6c5
fixed issues
Mikejo5000 Dec 17, 2018
0936778
fix newline formatting
gewarren Dec 17, 2018
67ef37f
link updates
Mikejo5000 Dec 17, 2018
6ecacdd
link updates
Mikejo5000 Dec 17, 2018
89b388b
link updates
Mikejo5000 Dec 17, 2018
9beb28e
fix metadata rendering error
TerryGLee Dec 17, 2018
84dd3bc
Merge pull request #3539 from TerryGLee/tglee-getstartfix
PRMerger7 Dec 17, 2018
1f0852b
Merge pull request #3537 from Mikejo5000/mikejo-br14
v-shils Dec 17, 2018
dc80dd6
add missing files to toc; convert to yaml
gewarren Dec 17, 2018
8fa0d8b
Update command line docs for export command
tydunkel Dec 17, 2018
3476556
Merge pull request #3541 from tydunkel/dev/tydunkel/installer/export-…
PRMerger12 Dec 17, 2018
633f709
remove in this section file that's in a different section
gewarren Dec 17, 2018
d82af60
fixed #1839
Mikejo5000 Dec 17, 2018
acc09cd
remove connected-environment folder
gewarren Dec 17, 2018
b45ad7f
Merge pull request #3525 from gewarren/template-ref
TrishaMc Dec 17, 2018
ffea4dc
fixed #1877
Mikejo5000 Dec 17, 2018
8825266
Merge pull request #3543 from gewarren/del-cs
gewarren Dec 17, 2018
5f126e7
add instructions for Find And Replace control to csharp console app t…
TerryGLee Dec 17, 2018
e721f2f
Merge pull request #3540 from gewarren/2015-ca-toc
Ja-Dunn Dec 17, 2018
7b96289
deleted unused .png filese
gewarren Dec 18, 2018
d8bc717
Merge pull request #3544 from TerryGLee/tglee-getstartfix
PRMerger6 Dec 18, 2018
8fea30b
delete orphaned ai media
gewarren Dec 18, 2018
780695c
VSPerf path updates
Mikejo5000 Dec 18, 2018
03d7a8b
VSPerf path updates
Mikejo5000 Dec 18, 2018
35bebf7
Merge pull request #3547 from MicrosoftDocs/master
ghogen Dec 18, 2018
6cca321
correct spelling
GitHubber17 Dec 18, 2018
341e616
Merge pull request #3546 from gewarren/ai-media
GitHubber17 Dec 18, 2018
e6fedf2
Merge pull request #3542 from Mikejo5000/mikejo-br14
GitHubber17 Dec 18, 2018
e50a745
MSBuild: log verbosity table
Mikejo5000 Dec 18, 2018
26b5131
Merge branch 'master' of https://github.com/MicrosoftDocs/visualstudi…
Mikejo5000 Dec 18, 2018
df89367
remove links to topics not in the toc
gewarren Dec 18, 2018
bf5719a
remove orphaned vs-2015 data tools topics
gewarren Dec 18, 2018
8db5e53
Merge pull request #3536 from gewarren/feature
rmca14 Dec 18, 2018
9ec46cf
Merge pull request #3545 from gewarren/ide-media
ktoliver Dec 18, 2018
d922134
merge from master
gewarren Dec 18, 2018
d8c0037
Merge pull request #3549 from MicrosoftDocs/repo_sync_working_branch
gewarren Dec 18, 2018
ca517b7
Merge pull request #3548 from Mikejo5000/mikejo-br14
ktoliver Dec 18, 2018
e4e6a3f
remove orphaned debugger topics
gewarren Dec 18, 2018
aeabf0d
remove orphaned deployment topic
gewarren Dec 18, 2018
fb052cf
remove orphaned profiling topics
gewarren Dec 18, 2018
83ee810
fixed #2015
Mikejo5000 Dec 18, 2018
34840a9
Merge pull request #3551 from MicrosoftDocs/master
Taojunshen Dec 18, 2018
62ed33e
deleted orphaned .png files from test, code-quality, data-tools
gewarren Dec 18, 2018
2109d95
fixed #2019
Mikejo5000 Dec 18, 2018
808e9a0
deleted orphaned png files for vs-2015
gewarren Dec 18, 2018
0a97500
Merge pull request #3550 from gewarren/2015-dt-links
itechedit Dec 18, 2018
6e30c78
Merge pull request #3553 from gewarren/2015-mike
gewarren Dec 18, 2018
9b659b3
update VSTO metadata and make SEO changes
TerryGLee Dec 18, 2018
88a7ca9
fixed #2030
Mikejo5000 Dec 18, 2018
747c5ee
Merge pull request #3557 from TerryGLee/tglee-vsto
PRMerger13 Dec 18, 2018
58abdec
fixed #2074
Mikejo5000 Dec 18, 2018
1eb2df5
Merge branch 'master' of github.com:MicrosoftDocs/visualstudio-docs-p…
gewarren Dec 18, 2018
e428907
Merge pull request #3554 from gewarren/png-gen
GitHubber17 Dec 18, 2018
89a473a
Merge pull request #3555 from gewarren/2015-media
GitHubber17 Dec 18, 2018
235d5cb
Merge pull request #3556 from gewarren/2015-dt-del
gewarren Dec 18, 2018
2c823ef
Merge pull request #3552 from Mikejo5000/mikejo-br14
GitHubber17 Dec 18, 2018
36c2172
delete unlinked include files
gewarren Dec 18, 2018
9cc59d5
fixed #2052
Mikejo5000 Dec 18, 2018
f279c97
fix h2 blocking issue
gewarren Dec 18, 2018
26dcfd7
fixed #2057
Mikejo5000 Dec 18, 2018
5ae2266
Merge pull request #1 from gewarren/kyle
kylereedmsft Dec 18, 2018
f4a0723
Merge pull request #3527 from kylereedmsft/dev/kylereed/add_docs_for_…
TrishaMc Dec 19, 2018
91f4523
update VSTO metadata and make SEO changes
TerryGLee Dec 19, 2018
56331b6
Merge pull request #3559 from gewarren/del-includes
TrishaMc Dec 19, 2018
65b890a
fixed #2076
Mikejo5000 Dec 19, 2018
6086037
Merge pull request #3560 from Mikejo5000/mikejo-br14
Ja-Dunn Dec 19, 2018
7ba6ac7
Merge pull request #3561 from TerryGLee/tglee-vsto
PRMerger6 Dec 19, 2018
08c8420
Add missing TOC entries for VC analysis warnings
kylereedmsft Dec 19, 2018
aa6896b
update VSTO metadata and make SEO changes
TerryGLee Dec 19, 2018
c811df8
more updates to VSTO metadata and more SEO changes
TerryGLee Dec 19, 2018
1c3d8e4
even more updates to VSTO metadata and SEO changes
TerryGLee Dec 19, 2018
1534d23
alot more updates to VSTO metadata plus SEO changes
TerryGLee Dec 19, 2018
30915f9
updates to issue fix
Mikejo5000 Dec 19, 2018
f4542b8
fixed #1028
Mikejo5000 Dec 19, 2018
d8b5a7c
Merge pull request #3563 from TerryGLee/tglee-vsto
v-shils Dec 19, 2018
5ab5c1f
Merge pull request #3562 from kylereedmsft/missing_toc_items
v-shils Dec 19, 2018
b86d4c7
fixed #1117
Mikejo5000 Dec 19, 2018
9d9ba2f
fixed #1201
Mikejo5000 Dec 19, 2018
77a276f
add blog post links to the dev16 Whats New topic
TerryGLee Dec 19, 2018
53a3365
add link to Connect conference to the See Also section
TerryGLee Dec 19, 2018
da1d6b1
Merge pull request #3564 from Mikejo5000/mikejo-br14
v-shils Dec 19, 2018
07ae94d
Merge pull request #3568 from TerryGLee/tglee-whatsnew
PRMerger16 Dec 19, 2018
ad2c2c1
update VSTO metadata and make SEO changes
TerryGLee Dec 19, 2018
d19f91c
fixed #1788
Mikejo5000 Dec 19, 2018
f35e7dd
Merge pull request #3569 from TerryGLee/tglee-vsto
PRMerger18 Dec 19, 2018
aa3190a
add missing redirect to new calulator tutorial
TerryGLee Dec 19, 2018
77a93be
Merge pull request #3570 from Mikejo5000/mikejo-br14
PRMerger7 Dec 19, 2018
1909046
Merge pull request #3571 from TerryGLee/tglee-redirect
GitHubber17 Dec 19, 2018
a205ff1
Merge pull request #3566 from MicrosoftDocs/master
Taojunshen Dec 19, 2018
18e53c8
Merging changes synced from https://github.com/MicrosoftDocs/visualst…
fenxu Dec 20, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 0 additions & 16 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,6 @@
{
"build_entry_point": "docs",
"docsets_to_publish": [
{
"docset_name": "connected-environment",
"build_source_folder": "connected-environment",
"build_output_subfolder": "connected-environment",
"locale": "en-us",
"monikers": [],
"moniker_ranges": [],
"open_to_public_contributors": false,
"type_mapping": {
"Conceptual": "Content",
"ManagedReference": "Content",
"RestApi": "Content"
},
"build_entry_point": "docs",
"template_folder": "_themes"
},
{
"docset_name": "docs",
"build_source_folder": "docs",
Expand Down
21 changes: 18 additions & 3 deletions .openpublishing.redirection.json
Original file line number Diff line number Diff line change
Expand Up @@ -682,17 +682,22 @@
},
{
"source_path": "docs/debugger/first-look-at-the-debugger.md",
"redirect_url": "/visualstudio/debugger/getting-started-with-the-debugger",
"redirect_url": "/visualstudio/debugger/debugger-feature-tour.md",
"redirect_document_id": false
},
{
"source_path": "docs/debugger/debugger-basics.md",
"redirect_url": "/visualstudio/debugger/getting-started-with-the-debugger",
"redirect_url": "/visualstudio/debugger/debugger-feature-tour.md",
"redirect_document_id": false
},
{
"source_path": "docs/debugger/getting-started-with-the-debugger-vb.md",
"redirect_url": "/visualstudio/get-started/visual-basic/getting-started-with-the-debugger-vb",
"redirect_url": "/visualstudio/get-started/visual-basic/tutorial-debugger",
"redirect_document_id": false
},
{
"source_path": "docs/debugger/getting-started-with-the-debugger.md",
"redirect_url": "/visualstudio/debugger/debugger-feature-tour.md",
"redirect_document_id": false
},
{
Expand Down Expand Up @@ -6882,6 +6887,11 @@
"redirect_url": "/visualstudio/get-started/csharp/tutorial-aspnet-core",
"redirect_document_id": true
},
{
"source_path": "docs/ide/tutorial-csharp-console.md",
"redirect_url": "/visualstudio/get-started/csharp/tutorial-console",
"redirect_document_id": true
},
{
"source_path": "docs/ide/tutorial-visual-basic-console.md",
"redirect_url": "/visualstudio/get-started/visual-basic/tutorial-console",
Expand Down Expand Up @@ -7071,6 +7081,11 @@
"source_path": "docs/reference/synchronized-settings-environment-options-dialog-box.md",
"redirect_url": "/visualstudio/ide/reference/accounts-environment-options-dialog-box",
"redirect_document_id": false
},
{
"source_path": "docs/extensibility/buildprojectonload-visual-studio-templates.md",
"redirect_url": "/visualstudio/extensibility/buildonload-visual-studio-templates",
"redirect_document_id": false
}
]
}
11 changes: 0 additions & 11 deletions connected-environment/breadcrumb/toc.yml

This file was deleted.

51 changes: 0 additions & 51 deletions connected-environment/docfx.json

This file was deleted.

Binary file removed docs/ai/media/Tensorflow_logo.png
Binary file not shown.
Binary file removed docs/ai/media/about/App_IDE.png
Binary file not shown.
Binary file removed docs/ai/media/about/TensorBoard.png
Binary file not shown.
Binary file removed docs/ai/media/about/runhistory-list.png
Binary file not shown.
Binary file removed docs/ai/media/manage-storage/job-history.png
Binary file not shown.
28 changes: 28 additions & 0 deletions docs/code-quality/C26455.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
title: C26455
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26455"
helpviewer_keywords:
- "C26455"
ms.assetid: 27e86063-d969-49d8-8912-dcc2dc57249f
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26455 DEFAULT_CTOR_NOEXCEPT

The C++ Core Guidelines suggest that default constructors shouldn't do anything that can throw. If the default constructor is allowed to throw, operations such as move and swap will also throw which is undesirable because move and swap should always succeed. Parameterized constructors may throw.

## Remarks

Consider the default constructors of the STL types, like `std::vector`. In these implementations, the default constructors initialize internal state without making allocations. In the `std::vector` case, the size is set to 0 and the internal pointer is set to `nullptr`. The same pattern should be followed for all default constructors.

## See also

- [C++ Core Guideline for this warning](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Rf-noexcept)
22 changes: 22 additions & 0 deletions docs/code-quality/C26456.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: C26456
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26456"
helpviewer_keywords:
- "C26456"
ms.assetid: 3a3ad636-0938-40b5-93ce-169322e2ff23
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26456 DONT_HIDE_OPERATORS

Hiding base methods that aren't virtual is error prone and makes code harder to read.

[C++ Core Guideline for this warning](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#c128-virtual-functions-should-specify-exactly-one-of-virtual-override-or-final)
22 changes: 22 additions & 0 deletions docs/code-quality/C26476.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: C26476
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26476"
helpviewer_keywords:
- "C26476"
ms.assetid: bb2b3b26-9a84-4d81-8bae-ad9a5577c8a6
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26476 USE_VARIANT

`std::variant` provides a type-safe alternative to `union` and should be preferred in modern code.

[C++ Core Guideline for this warning](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Ru-naked)
22 changes: 22 additions & 0 deletions docs/code-quality/C26477.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: C26477
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26477"
helpviewer_keywords:
- "C26477"
ms.assetid: d5395efc-5eb2-4e82-9b45-fcd5ff4577bf
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26477 USE_NULLPTR_NOT_CONSTANT

`nullptr` has a special type `nullptr_t` that allows overloads with special null handling. Using `0` or `NULL` in place of `nullptr` bypasses the type safety and deduction that `nullptr` provides.

[C++ Core Guideline for this warning](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#Res-nullptr)
47 changes: 47 additions & 0 deletions docs/code-quality/C26486.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---
title: C26486
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26486"
helpviewer_keywords:
- "C26486"
ms.assetid: d5395efc-5eb2-4e82-9b45-fcd5ff4577bf
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26486 LIFETIMES_FUNCTION_PRECONDITION_VIOLATION

Don't pass a pointer that may be invalid (dangling) as a parameter to a function.

```cpp
void use(int*);

void ex1()
{
int* px;
{
int x;
px = &x;
}

use(px); // px is a dangling pointer
}
```

## Remarks

The Lifetime guidelines from the C++ core guidelines outline a contract that code can follow which will enable more thorough static memory leak and dangling pointer detection. The basic ideas behind the guidelines are:

- Never dereference an invalid (dangling) or known-null pointer
- Never return (either formal return or out parameter) any pointer from a function.
- Never pass an invalid (dangling) pointer to any function.

## See also

- [C++ Core Guidelines Lifetimes Paper](https://github.com/isocpp/CppCoreGuidelines/blob/master/docs/Lifetime.pdf)
44 changes: 44 additions & 0 deletions docs/code-quality/C26487.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: C26487
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26487"
helpviewer_keywords:
- "C26487"
ms.assetid: 2b0dbec3-c963-4437-8218-933717c1db98
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26487 LIFETIMES_FUNCTION_POSTCONDITION_VIOLATION

Don't allow a function to return an invalid pointer, either through the formal return or output parameters.

```cpp
int* ex1(int a)
{
return &a; // returns a dangling pointer to the stack varible 'a'
}

void ex2(int a, int** out)
{
*out = &a; // 'out' contains a dangling pointer to the stack varible 'a'
}
```

## Remarks

The Lifetime guidelines from the C++ core guidelines outline a contract that code can follow which will enable more thorough static memory leak and dangling pointer detection. The basic ideas behind the guidelines are:

- Never dereference an invalid (dangling) or known-null pointer
- Never return (either formal return or out parameter) any pointer from a function.
- Never pass an invalid (dangling) pointer to any function.

## See also

- [C++ Core Guidelines Lifetimes Paper](https://github.com/isocpp/CppCoreGuidelines/blob/master/docs/Lifetime.pdf)
44 changes: 44 additions & 0 deletions docs/code-quality/C26488.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: C26488
ms.date: 12/14/2018
ms.prod: visual-studio-dev15
ms.technology: vs-ide-code-analysis
ms.topic: "conceptual"
f1_keywords:
- "C26488"
helpviewer_keywords:
- "C26488"
ms.assetid: 2ade0d31-f259-49de-8676-cce6092fabfc
author: kylereedmsft
ms.author: kylereed
manager: annagrin
ms.workload:
- "multiple"
---
# C26488 LIFETIMES_DEREF_NULL_POINTER

Don't dereference a pointer that may be null.

```cpp
void ex1()
{
int* px = nullptr;

if (px) // notice the condition is incorrect
return;

*px = 1; // 'px' known to be null here
}
```

## Remarks

The Lifetime guidelines from the C++ core guidelines outline a contract that code can follow which will enable more thorough static memory leak and dangling pointer detection. The basic ideas behind the guidelines are:

1) Never dereference an invalid (dangling) or known-null pointer
2) Never return (either formal return or out parameter) any pointer from a function.
3) Never pass an invalid (dangling) pointer to any function.

## See also

- [C++ Core Guidelines Lifetimes Paper](https://github.com/isocpp/CppCoreGuidelines/blob/master/docs/Lifetime.pdf)
Loading