Markus Trenkwalder
6729847f65
Update contributors.txt
2020-09-16 08:44:54 +02:00
Markus Trenkwalder
d735386bf2
Fix linker issue when compiling with CMake and MSVC on Windows by setting gtest_force_shared_crt=ON
2020-09-16 08:37:14 +02:00
Terence Parr
e73f72be73
Merge pull request #2911 from rmcgregor1990/separate-py3-tests
...
separate py3 runtime tests from src tree + actually run said tests in CI
2020-09-15 13:13:12 -07:00
Robert McGregor
f7af6c07d5
added to contributors.txt
2020-09-15 21:06:42 +01:00
Terence Parr
da848154d8
Merge pull request #2906 from antlr/fix-template-issue
...
Fix template issue
2020-09-15 09:36:56 -07:00
Terence Parr
2e4bf8196a
Merge pull request #2905 from antlr/fix-javascript-perf-issue
...
Fix #2902
2020-09-15 09:36:22 -07:00
Robert McGregor
6f0657e5c9
separate py3 runtime tests from src tree + actually run said tests in CI
2020-09-14 20:38:22 +01:00
Terence Parr
d3246df2c3
Merge pull request #2907 from felixn/fix-travis-cpp-regressions
...
Fix regressions in travis Cpp tests
2020-09-13 13:43:15 -07:00
Felix Nieuwenhuizen
c128f0659b
add missing semicolon to AltLabelStructDeclHeader
...
rules with alternative labels were generating Cpp header files with missing semicolons in declarations after PR#2806 removed duplicate semicolons.
StructDeclHeader and AltLabelStructDeclHeader differed in how attributes were declared
2020-09-13 19:20:23 +02:00
Felix Nieuwenhuizen
6fed4cd522
Dummy commit to trigger build
2020-09-13 18:28:52 +02:00
Terence Parr
e01df6b6a1
Merge pull request #2892 from Clcanny/charles-dev
...
[C++ runtime] Remove codecvt header (deprecated in C++17) in cpp runtime.
2020-09-13 09:01:40 -07:00
Eric Vergnaud
c0bf19846c
Fix #2745
2020-09-13 21:07:01 +08:00
Eric Vergnaud
ef029cef40
Fix #2902
2020-09-13 20:53:49 +08:00
Charles Ruan
734d18cb35
Add missing const in StringUtils.h
2020-09-12 23:13:52 +08:00
Charles Ruan
ae0c7a31f8
Implement USE_UTF8_INSTEAD_OF_CODECVT macro in CMakeLists.txt in another way.
2020-09-12 21:32:06 +08:00
Charles Ruan
73f157fb91
Add utfcpp include paths in project.pbxproj for macOS compilation.
2020-09-12 20:51:09 +08:00
Charles Ruan
4bacd99255
add prompt for USE_UTF8_INSTEAD_OF_CODECVT macro in CMakeLists.txt.
2020-09-12 20:41:02 +08:00
Charles Ruan
2d86b34c40
Compile with utf8 on macOS.
2020-09-12 20:35:08 +08:00
Charles Ruan
72d86f91ed
1. Revert change: downgrade gcc version from 5 to 4.9.
...
2. Add macro USE_UTF8_INSTEAD_OF_CODECVT to judge use codecvt or utf8.
2020-09-12 01:30:14 +08:00
Charles Ruan
2dc9fb50be
1. remove wstring_convert and codecvt
...
2. let clang::fallthrough and throw_with_nested be compatible to gcc 4.9
3. downgrade gcc version from 5 to 4.9
2020-09-12 01:30:14 +08:00
Terence Parr
1ac3593fc4
Merge pull request #2848 from nburles/fix_static_const_odr_violations
...
[C++ runtime] Fix static const ODR violations
2020-09-11 08:58:45 -07:00
Terence Parr
2aafb7f143
Merge pull request #2836 from sigmasoldi3r/master
...
[C++ codegen] Fixed deprecation warning for CPP targets > 17
2020-09-11 08:49:39 -07:00
Pablo Blanco Celdrán
cc8d610a08
Trigger CI
2020-09-10 23:27:07 +02:00
Terence Parr
aa5a0d2891
Merge pull request #2835 from cohomology/master
...
[C++ runtime]: Improve coding style of auto usages
2020-09-10 12:57:15 -07:00
Terence Parr
168882d942
Merge branch 'master' into master
2020-09-10 12:56:08 -07:00
Terence Parr
49ac9d066a
Merge pull request #2839 from IohannRabeson/cpp_vocabulary_cleanup
...
[C++ runtime] Improvements of Vocabulary::fromTokenNames
2020-09-10 10:55:12 -07:00
Terence Parr
fb2a34d5be
Merge branch 'master' into cpp_vocabulary_cleanup
2020-09-10 10:54:44 -07:00
Terence Parr
9a646e0367
Merge pull request #2847 from nburles/antlrinputstream_from_stringview
...
[C++ runtime] Add AntlrInputStream(std::string_view) constructor
2020-09-10 10:53:55 -07:00
Terence Parr
ffef8cb278
Merge pull request #2850 from nburles/use_explicit_constructor
...
[C++ codegen] Add explicit keyword to constructor
2020-09-10 10:53:33 -07:00
Terence Parr
2b119be553
Merge pull request #2854 from nburles/fix_u8string_cpp20
...
[C++ codegen] Remove use of the u8"" string literal prefix
2020-09-10 10:52:46 -07:00
Terence Parr
630e4c0b7d
Merge pull request #2865 from nburles/fix_switch_missing_default_case
...
[C++ codegen] Add default cases to AltBlock and OptionalBlock
2020-09-10 10:52:25 -07:00
Terence Parr
86b88f697b
Merge pull request #2887 from stevenjohnstone/master
...
Fix C++ target README example
2020-09-10 10:51:12 -07:00
Terence Parr
a161845829
Merge branch 'master' into master
2020-09-10 10:51:02 -07:00
Terence Parr
40df0c169f
Merge pull request #2899 from ArthurSonzogni/bug-2898
...
Fix clang compile error with --stdlib=libc++
2020-09-10 10:50:08 -07:00
Kilian Kilger
cdf67a5ed2
Merge branch 'master' into master
2020-09-10 18:36:54 +02:00
Kilian Kilger
19adda3a58
Add thread_local again in StringUtils.h due to better performance
2020-09-10 18:33:08 +02:00
Pablo Blanco Celdrán
7d10669421
Merge branch 'master' into master
2020-09-10 17:55:55 +02:00
irabeson
af53acd2a2
Merge branch 'master' into cpp_vocabulary_cleanup
2020-09-10 10:42:36 -04:00
ArthurSonzogni
f68c47a988
Fix clang compile error with --stdlib=libc++
...
On linux. Most users haven't installed libc++-dev, but ANTLR is passing
the "--stdlib=libc++" argument. As a result, this won't compile. Users
will see:
```
/tmp/antlr4/runtime/Cpp/runtime/src/antlr4-common.h:8:10: fatal error:
'algorithm' file not found
```
This is caused by the "WITH_LIBCXX" option.
It was introduced by:
d46ef90aa0
It causes the option "--stdlib=libc++" to be appended by default.
I believe its default value should have been left as "Off".
With "off" by default, clang will use its default C++ library, which is
always available.
The WITH_LIBCXX option is kept, being able to change the C++ library
might be useful?
BUG=https://github.com/antlr/antlr4/issues/2898
2020-09-06 15:30:54 +02:00
Stevie Johnstone
8270f329ad
Fix C++ target README example
...
tree::ParseTreeWalker::DEFAULT is not a pointer
2020-08-22 17:48:15 +01:00
Terence Parr
be881fa6b9
Merge pull request #2806 from felixn/no-extra-semi
...
C++ target: don't generate extra/duplicate semicolons
2020-08-20 08:52:24 -07:00
Felix Nieuwenhuizen
68e9a25bbe
don't generate extra/duplicate semicolons
2020-08-19 18:25:19 +02:00
Terence Parr
533f63382a
Merge pull request #2883 from lingyv-li/pin-dart-version
...
Fix travis ci for Dart pin version
2020-08-19 09:20:15 -07:00
Larry Li
0b34136a44
fix dart sdk url
2020-08-19 13:31:32 +10:00
Larry Li
d47db45180
fix travis ci for pinned dart sdk version
2020-08-19 12:31:02 +10:00
Terence Parr
b173138a3b
Merge pull request #2882 from lingyv-li/pin-dart-version
...
Pin dart version to 2.8.4 to get unit tests passing
2020-08-18 15:09:04 -07:00
Larry Li
1eb6c3ee52
pin dart version to 2.8.4
2020-08-19 07:16:58 +10:00
Larry Li
c8571060f0
pin dart version to 2.8.4 to get unit tests passing
2020-08-19 06:36:32 +10:00
Terence Parr
2ba38605b9
Merge pull request #2728 from lingyv-li/dart-clean
...
Dart Target
2020-07-31 17:55:19 -07:00
Terence Parr
dfc7ffc39c
Merge branch 'master' into dart-clean
2020-07-27 11:33:40 -07:00