Daniel Marjamäki
|
bd7790fd8c
|
Update copyright year
|
2019-02-09 07:24:06 +01:00 |
amai2012
|
19e979315f
|
Correct detection of Microsoft extensions in MathLib::isValidIntegerSuffix. Remove public overloaded implementation which was not used outside mathlib.cpp. (#1531)
|
2018-12-20 12:20:31 +01:00 |
Daniel Marjamäki
|
7833ade128
|
Updated copyright year
|
2018-10-13 18:20:31 +02:00 |
Daniel Marjamäki
|
aa17b1f79a
|
Rename private member variables
|
2018-06-17 17:04:34 +02:00 |
Daniel Marjamäki
|
c4caee6b18
|
Updated copyright year
|
2018-01-14 15:37:52 +01:00 |
Daniel Marjamäki
|
819862ddcb
|
Fix compiler errors
|
2017-10-20 17:38:15 +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 |
Matthias Krüger
|
79010eecea
|
lib: fix a bunch of warnings about differing function arguments in definition and declaration.
[lib/token.h:72] -> [lib/token.cpp:36]: (style, inconclusive) Function 'Token' argument 1 names different: declaration 'tokensBack' definition 't'.
[lib/token.h:445] -> [lib/token.cpp:497]: (style, inconclusive) Function 'multiCompare' argument 1 names different: declaration 'needle' definition 'tok'.
[lib/checkio.h:73] -> [lib/checkio.cpp:1385]: (style, inconclusive) Function 'ArgumentInfo' argument 3 names different: declaration 'isCPP' definition '_isCPP'.
[lib/checkother.h:216] -> [lib/checkother.cpp:2136]: (style, inconclusive) Function 'checkComparisonFunctionIsAlwaysTrueOrFalseError' argument 2 names different: declaration 'strFunctionName' definition 'functionName'.
[lib/errorlogger.h:214] -> [lib/errorlogger.cpp:51]: (style, inconclusive) Function 'ErrorMessage' argument 2 names different: declaration 'file0' definition 'file0_'.
[lib/errorlogger.h:215] -> [lib/errorlogger.cpp:65]: (style, inconclusive) Function 'ErrorMessage' argument 2 names different: declaration 'file0' definition 'file0_'.
[lib/library.h:327] -> [lib/library.cpp:1043]: (style, inconclusive) Function 'ignorefunction' argument 1 names different: declaration 'function' definition 'functionName'.
[lib/mathlib.h:112] -> [lib/mathlib.cpp:1275]: (style, inconclusive) Function 'isNullValue' argument 1 names different: declaration 'tok' definition 'str'.
[lib/preprocessor.h:91] -> [lib/preprocessor.cpp:122]: (style, inconclusive) Function 'setDirectives' argument 1 names different: declaration 'tokens' definition 'tokens1'.
[lib/symboldatabase.h:860] -> [lib/symboldatabase.cpp:1801]: (style, inconclusive) Function 'argsMatch' argument 1 names different: declaration 'info' definition 'scope'.
[lib/symboldatabase.h:1171] -> [lib/symboldatabase.cpp:2048]: (style, inconclusive) Function 'addClassFunction' argument 1 names different: declaration 'info' definition 'scope'.
[lib/symboldatabase.h:1174] -> [lib/symboldatabase.cpp:2208]: (style, inconclusive) Function 'addNewFunction' argument 1 names different: declaration 'info' definition 'scope'.
[lib/symboldatabase.h:1090] -> [lib/symboldatabase.cpp:3648]: (style, inconclusive) Function 'findVariableType' argument 2 names different: declaration 'type' definition 'typeTok'.
[lib/symboldatabase.h:1101] -> [lib/symboldatabase.cpp:4308]: (style, inconclusive) Function 'findType' argument 1 names different: declaration 'tok' definition 'startTok'.
[lib/symboldatabase.h:1176] -> [lib/symboldatabase.cpp:4349]: (style, inconclusive) Function 'findTypeInNested' argument 1 names different: declaration 'tok' definition 'startTok'.
[lib/symboldatabase.h:1193] -> [lib/symboldatabase.cpp:4501]: (style, inconclusive) Function 'setValueType' argument 2 names different: declaration 'enumerators' definition 'enumerator'.
[lib/path.h:159] -> [lib/path.cpp:247]: (style, inconclusive) Function 'isCPP' argument 1 names different: declaration 'extensionInLowerCase' definition 'path'.
[lib/path.h:145] -> [lib/path.cpp:266]: (style, inconclusive) Function 'acceptFile' argument 1 names different: declaration 'filename' definition 'path'.
|
2017-04-03 00:06:46 +02:00 |
orbitcowboy
|
fe08abb76f
|
Improved Doxygen comments. There are no functional changes.
|
2016-10-11 13:51:46 +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
|
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 |
Alexander Mai
|
41dee7f970
|
#7399 CMake error: Cannot specify link libraries for target 'testrunner' (reported by user dbuchholz). Add comment to mathlib.h
|
2016-02-19 21:40:31 +01:00 |
Lauri Nurmi
|
996c9244d8
|
Update copyright year to 2007-2016.
|
2016-01-01 15:34:45 +02: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
|
a7ab5ecf08
|
Fix some compiler in MathLib::characterLiteralToLongNumber + some small refactoring
|
2015-11-23 20:41:21 +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
|
0f9d90d2be
|
Changed Copyrights. Removed my name.
|
2015-11-18 20:04:50 +01: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 |
Alexander Mai
|
bbec54db8e
|
Implement MathLib::isFloatHex to detect C99 hexadecimal floating pointer literals. Rename MathLib::isHex to MathLib::isIntHex
|
2015-07-26 08:06:56 +02:00 |
Daniel Marjamäki
|
a4a866ab07
|
Fix Cppcheck warning about non-explicit constructor for MathLib::value
|
2015-07-10 21:17:17 +02:00 |
Daniel Marjamäki
|
ac04541d56
|
MathLib: Add value class. this will allow more type-independant value handling.
|
2015-07-10 20:36:38 +02:00 |
Daniel Marjamäki
|
ff11ba9847
|
Updated copyright year to 2015
|
2015-01-03 12:14:58 +01:00 |
Daniel Marjamäki
|
051d42ae6b
|
astyle formatting
|
2014-11-20 14:20:09 +01:00 |
orbitcowboy
|
f5d804f71a
|
running astyle
|
2014-11-20 10:13:03 +01:00 |
orbitcowboy
|
60e80b6fb1
|
Fixed #5885 - fsanitize=undefined: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int' in lib/tokenize.cpp.
|
2014-05-29 18:25:01 +02:00 |
Alexander Mai
|
ac24635056
|
Convert MathLib::toLongNumber() from template member function to toLongNumber() and toULongNumber() to avoid various problems compiling with Visual Studio
|
2014-04-14 20:30:38 +02:00 |
Alexander Mai
|
1ef99e2662
|
Try to avoid compiler warning for unary minus operator inside MathLib::toLongNumber<biguint>()
|
2014-04-13 19:20:44 +02:00 |
Alexander Mai
|
718e42f5ca
|
Fix some clang warnings about type conversions
|
2014-04-11 23:35:53 +02:00 |
Alexander Mai
|
6da6508913
|
Extract new function MathLib::isDec() our of isInt()
|
2014-04-11 22:15:25 +02:00 |
Alexander Mai
|
e19129a409
|
Fix #4724 (Error in calculation shift operation: wrong sign: 1UL << 63)
|
2014-04-10 19:22:14 +02:00 |
Daniel Marjamäki
|
8c7cf090c4
|
Merge pull request #261 from orbitcowboy/master
MathLib:isHex(): fix detection of missing suffixes (U,L).
|
2014-03-14 13:00:35 +01:00 |
orbitcowboy
|
74d10cd6d9
|
Added function MathLib::isValidSuffix()
|
2014-03-14 11:46:41 +01:00 |
orbitcowboy
|
71ee625aab
|
MathLib: replaced isHexDigit function by isxdigit.
|
2014-03-14 09:33:20 +01:00 |
orbitcowboy
|
ed793793db
|
MathLib:isHex(): fix detection of missing suffixes (U,L).
|
2014-03-11 20:02:04 +01:00 |
Daniel Marjamäki
|
fd3a8a2a18
|
Update copyright
|
2014-02-15 07:45:39 +01:00 |
PKEuS
|
17810e4eb5
|
Fixed linker problems in mathlib
|
2013-10-01 20:40:55 +02:00 |
Martin Ettl
|
0527aefb11
|
Improved simplifyMathFunctions when simplifying special cases of pow(x,y)-function.
|
2013-09-29 15:11:09 +02:00 |
Daniel Marjamäki
|
1feabd0f0a
|
astyle formatting
|
2013-09-23 06:03:44 +02:00 |
Simon Martin
|
894f537eba
|
Remove warnings emitted by clang's -Wsign-conversion
|
2013-09-22 13:22:52 +02:00 |
Ettl Martin
|
9ab6655d85
|
Fixed #5007 (Same include guard naming)
|
2013-09-04 20:59:49 +02:00 |
Daniel Marjamäki
|
c3d1274db3
|
Reverted 'simplify NOT' since there are problems related to signedness of numeric values.
|
2013-04-24 06:32:34 +02:00 |
Ettl Martin
|
33cfc1a52e
|
fixed #4726: simplify bitwise Not (~ %num%)
|
2013-04-11 09:16:40 +02:00 |
Reijo Tomperi
|
5d5f7085bf
|
Updating year 2012 -> 2013 to .cpp and .h files and man page.
|
2013-01-01 18:29:08 +02:00 |
Daniel Marjamäki
|
64faa780fe
|
Fixed #4087 (div by zero check is invalid for floats)
|
2012-09-11 16:50:42 +02:00 |
PKEuS
|
95f4bb3e97
|
Implemented support for binary numbers (#4113)
|
2012-09-10 21:13:32 +02:00 |
PKEuS
|
f969530e1f
|
Revert "Fixed #4087" which was committed by accident.
This reverts commit 0bbef8d803 .
|
2012-09-05 13:57:57 +02:00 |
PKEuS
|
0bbef8d803
|
Fixed #4087
|
2012-09-04 21:50:50 +02:00 |