Daniel Marjamäki
|
7e4dba6a7e
|
Updated copyright year
|
2018-03-31 20:59:09 +02:00 |
Daniel Marjamäki
|
95ccd9483b
|
gcc 4.5 compatibility
|
2018-03-30 20:57:25 +02:00 |
Daniel Marjamäki
|
c4caee6b18
|
Updated copyright year
|
2018-01-14 15:37:52 +01:00 |
Ayaz Salikhov
|
64e61d28ba
|
Add an ability to use address sanitizer (#979)
|
2017-10-21 21:04:14 +02:00 |
Daniel Marjamäki
|
819862ddcb
|
Fix compiler errors
|
2017-10-20 17:38:15 +02:00 |
orbitcowboy
|
db787369b9
|
#8243: Changed order of includes. Moved mathlib include at first place.
|
2017-10-14 16:30:10 +02:00 |
Ayaz Salikhov
|
b8cd7dbb5c
|
Use nullptr instead of 0 or NULL (#936)
|
2017-08-09 20:00:26 +02:00 |
Daniel Marjamäki
|
bf5040e3d6
|
Fixed #7701 (ValueFlow: handle 64-bit unsigned values )
|
2017-07-22 12:19:46 +02:00 |
Ayaz Salikhov
|
28aa939d69
|
iwyu - include what you use
|
2017-05-27 04:33:47 +02:00 |
Alexander Mai
|
c1cdcc158f
|
Run astyle. Fix some Doxygen issues
|
2017-05-06 11:57:02 +02:00 |
amai2012
|
3e11eb9dca
|
#8050 cppcheckError: 0xFFFFFFul -> 16777215ULU. Don't add a suffix 'U' if there is already a suffix present.
|
2017-05-05 14:47:58 +02:00 |
Daniel Marjamäki
|
1faca91c1d
|
Added 'endsWith' utility function. This will make compiling the democlient easier.
|
2017-04-01 18:14:18 +02:00 |
Daniel Marjamäki
|
633ed23c0d
|
Fix Cppcheck warnings about mismatching function argument names
|
2017-04-01 09:31:27 +02:00 |
Daniel Marjamäki
|
adc659f58b
|
Fixed #7897 (MathLib::toDoubleValue: Does not handle character literal)
|
2017-02-25 21:58:09 +01:00 |
PKEuS
|
d665641a76
|
Refactorizations:
- use std::string::pop_back() and std::string::back()
- pass argument as const std::string&
- Moved iterator into for loop head
|
2016-12-05 14:50:01 +01:00 |
Daniel Marjamäki
|
1b7766c7bd
|
astyle formatting
|
2016-10-16 19:03:14 +02:00 |
Daniel Marjamäki
|
90ed7634b8
|
MathLib: fix for octal char literal '\200'
|
2016-10-16 13:42:20 +02:00 |
Daniel Marjamäki
|
fee0e4edfa
|
Fixed #7177 (MathLib: Does not handle '\xF6' properly)
|
2016-08-28 11:37:05 +02:00 |
PKEuS
|
fc1603eb9b
|
MathLib, ValueType: Support integer suffix "i64"
|
2016-07-26 13:19:53 +02:00 |
Simon Martin
|
40eacb19b1
|
Ticket #7565: Handle numbers with several C++14 integer separators.
|
2016-07-01 23:24:28 +02:00 |
Daniel Marjamäki
|
bab4f61bb2
|
astyle formatting
[ci skip]
|
2016-06-05 14:14:28 +02:00 |
Simon Martin
|
3095f47a7b
|
Ticket #7137: Properly detect C++14 digit separators. (#802)
Add an optional extended description…
|
2016-06-04 22:55:55 +02:00 |
Simon Martin
|
ce05d23bb7
|
No need to use std::min() in normalizeCharacterLiteral.
|
2016-05-22 22:59:32 +02:00 |
Simon Martin
|
eb1b3db04a
|
Address comments in PR#794 and alternative fix for ticket #7500.
|
2016-05-20 22:52:43 +02:00 |
Alexander Mai
|
4f77a2b044
|
#7500 buffer overflow: encodeMultiChar lib/mathlib.cpp:343. Improve errors handling
|
2016-05-17 20:43:32 +02:00 |
Daniel Marjamäki
|
7fffc09b17
|
MathLib: Add #include for VS2013
|
2016-05-16 20:30:53 +02:00 |
Daniel Marjamäki
|
bce15b1ade
|
CheckClass: refactored the code, use symboldatabase instead of name comparisons when possible, fixed a FN.
|
2016-05-16 09:36:26 +02:00 |
Simon Martin
|
3af30e728c
|
Ticket #7452: Properly interpret escape sequences in character literals.
|
2016-05-15 15:48:24 +02:00 |
Daniel Marjamäki
|
ac8341e3de
|
keep type suffixes after constant folding using bit operations
|
2016-03-21 21:20:02 +01:00 |
Robert Reif
|
100c4276ea
|
Fixed #7424 (value type: wrong sign)
|
2016-03-18 10:30:57 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02:00 |
PKEuS
|
37572dc109
|
Small refactorizations:
- Improved formatting of unhandled-char-constant message (Side-effect: fixes #7206)
- Replace nr="-1" by nr="any" in windows.cfg
|
2015-12-10 15:47:46 +01:00 |
Alexander Mai
|
5ddc5c0798
|
#7187 internal error; unhandled char constant \e. Support \e char literal support by clang,gcc,tcc
|
2015-12-05 18:53:03 +01:00 |
PKEuS
|
e8522c7883
|
Small refactorizations:
- #include cleanup
- Use std::array instead of std::vector
- Do not create a stringstream to concatenate 4 strings
- Use std::cout instead of printf
|
2015-11-29 10:56:44 +01:00 |
Alexander Mai
|
78489f4293
|
MathLib::characterLiteralToLongNumber can encode unicode char literals, though it's incompatible to gcc/clang
|
2015-11-28 16:37:26 +01:00 |
Alexander Mai
|
c6ec5ca734
|
Fix MathLib::characterLiteralToLongNumber for LP64 again.
|
2015-11-27 21:43:51 +01:00 |
Alexander Mai
|
d4749c3377
|
Fix excessive left shift of signed integer and some doxygen errors
|
2015-11-27 19:32:28 +01:00 |
Alexander Mai
|
a7ab5ecf08
|
Fix some compiler in MathLib::characterLiteralToLongNumber + some small refactoring
|
2015-11-23 20:41:21 +01:00 |
Alexander Mai
|
63b7700660
|
Use clang/gcc-conforming encoding of multicharacter literals
|
2015-11-22 14:20:36 +01:00 |
Alexander Mai
|
9ca6704c81
|
#7162 Support multicharacter char literals.
|
2015-11-22 13:31:31 +01:00 |
Alexander Mai
|
517922feb6
|
MathLib::characterLiteralToLongNumber now reports more specific error messages for unsupported unicode literals (see #7162)
|
2015-11-22 07:38:38 +01:00 |
Alexander Mai
|
714579401f
|
#7160 Internal error: Unhandled char constant '\1'. Correct MathLib::toLongNumber. Create new utility function MathLib::characterLiteralToLongNumber
|
2015-11-21 22:35:58 +01:00 |
Daniel Marjamäki
|
79a70c1277
|
MathLib::toLongNumber: Better handling of '\x12' and '\000' char constants
|
2015-11-20 18:57:48 +01:00 |
Daniel Marjamäki
|
52b5446d86
|
Improve handling of various standard character constants
|
2015-11-20 10:23:38 +01:00 |
Daniel Marjamäki
|
86957214ae
|
Remove redundant comparisons
|
2015-11-20 10:11:58 +01:00 |
Daniel Marjamäki
|
0022ce8075
|
Refactor handling of char constants
|
2015-11-20 10:10:38 +01:00 |
Daniel Marjamäki
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01:00 |
PKEuS
|
4f565ba90f
|
Fixed crashs on garbage code (#7082)
|
2015-11-02 21:30:28 +01:00 |
PKEuS
|
1627b19dd6
|
Refactorizations:
- Call std::string::find() with char instead of char* where possible
- Avoid string copying
- Optimized several Token::tokAt/strAt calls
|
2015-08-16 10:33:51 +02:00 |
Alexander Mai
|
7c48bf3ca5
|
MathLib::isFloat now detects C99 hexadecimal float literals. MathLib::isDecimalFloat was added for C++ and pre-C99 compatibility.
|
2015-07-26 19:21:53 +02:00 |