travis CI fixes

This commit is contained in:
Sergey Zubkov
2020-04-22 09:35:16 -04:00
parent d45496ff5e
commit 986402298a
2 changed files with 25 additions and 20 deletions

View File

@@ -14972,7 +14972,6 @@ There is no explicit locking and both correct (value) return and error (exceptio
return value; return value;
} }
void async_example() void async_example()
{ {
try try
@@ -19201,6 +19200,7 @@ to files that includes it or in scenarios where the different search algorithm i
#include "helpers.h" // A project specific file, use "" form #include "helpers.h" // A project specific file, use "" form
##### Note ##### Note
Failing to follow this results in difficult to diagnose errors due to picking up the wrong file by incorrectly specifying the scope when it is included. Failing to follow this results in difficult to diagnose errors due to picking up the wrong file by incorrectly specifying the scope when it is included.
Library creators should put their headers in a folder and have clients include those files using the relative path `#include <some_library/common.h>` Library creators should put their headers in a folder and have clients include those files using the relative path `#include <some_library/common.h>`
@@ -20282,9 +20282,11 @@ and errors (when we didn't deal correctly with semi-constructed objects consiste
// main problem: constructor does not fully construct // main problem: constructor does not fully construct
Picture(int x, int y) Picture(int x, int y)
{ {
mx = x; // also bad: assignment in constructor body rather than in member initializer mx = x; // also bad: assignment in constructor body
// rather than in member initializer
my = y; my = y;
data = nullptr; // also bad: constant initialization in constructor rather than in member initializer data = nullptr; // also bad: constant initialization in constructor
// rather than in member initializer
} }
~Picture() ~Picture()
@@ -20466,7 +20468,7 @@ Reference sections:
Libraries used have to have been approved for mission critical applications. Libraries used have to have been approved for mission critical applications.
Any similarities to this set of guidelines are unsurprising because Bjarne Stroustrup was an author of JSF++. Any similarities to this set of guidelines are unsurprising because Bjarne Stroustrup was an author of JSF++.
Recommended, but note its very specific focus. Recommended, but note its very specific focus.
* [_MISRA C++ 2008: Guidelines for the use of the C++ language in critical systems_] (https://www.misra.org.uk/Buyonline/tabid/58/Default.aspx). * [MISRA C++ 2008: Guidelines for the use of the C++ language in critical systems](https://www.misra.org.uk/Buyonline/tabid/58/Default.aspx).
* [Mozilla Portability Guide](https://developer.mozilla.org/en-US/docs/Mozilla/C%2B%2B_Portability_Guide). * [Mozilla Portability Guide](https://developer.mozilla.org/en-US/docs/Mozilla/C%2B%2B_Portability_Guide).
As the name indicates, this aims for portability across many (old) compilers. As the name indicates, this aims for portability across many (old) compilers.
As such, it is restrictive. As such, it is restrictive.

View File

@@ -52,6 +52,7 @@ ASIC
asio asio
AST AST
async async
AUTOSAR
'B' 'B'
b2 b2
BDE BDE
@@ -320,6 +321,7 @@ Meyers96
Meyers97 Meyers97
microbenchmarks microbenchmarks
middleware middleware
MISRA
mixin mixin
mixins mixins
mnemonizes mnemonizes
@@ -598,6 +600,7 @@ UTF
util util
v's v's
v1 v1
v17
v2 v2
va va
ValueType ValueType