File tree Expand file tree Collapse file tree 4 files changed +22
-28
lines changed
autosar/src/codingstandards/cpp
common/test/includes/standard-library Expand file tree Collapse file tree 4 files changed +22
-28
lines changed Original file line number Diff line number Diff line change 11import cpp as default
22
33/*
4- * Implementations of the C/C++ Fixed Width Types from cstdint.h.
4+ * Implementations of the C/C++ Fixed Width Types from cstdint.
55 *
66 * TODO: Deprecate once this is available in the CodeQL standard library.
77 */
Original file line number Diff line number Diff line change 1- #ifndef _CPP_CSTDINT
2- #define _CPP_CSTDINT
3-
4- #define MAX_INT
5- #include <cstdint.h>
6- #endif
1+ #ifndef _GHLIBCPP_CSTDINT
2+ #define _GHLIBCPP_CSTDINT
3+ #include "stdint.h"
4+ namespace std {
5+ using ::int16_t;
6+ using ::int32_t;
7+ using ::int64_t;
8+ using ::int8_t;
9+ using ::intmax_t;
10+ using ::uint16_t;
11+ using ::uint32_t;
12+ using ::uint64_t;
13+ using ::uint8_t;
14+ using ::uint_fast16_t;
15+ using ::uint_fast32_t;
16+ using ::uint_fast64_t;
17+ using ::uint_fast8_t;
18+ using ::uintmax_t;
19+ } // namespace std
20+ #endif // _GHLIBCPP_CSTDINT
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11#ifndef _GHLIBCPP_RANDOM
22#define _GHLIBCPP_RANDOM
3- #include " cstdint.h"
43#include " stddef.h"
4+ #include < cstdint>
55#include < string>
66
77namespace std {
You can’t perform that action at this time.
0 commit comments