Commit Graph

320 Commits

Author SHA1 Message Date
Markus Trenkwalder 6729847f65 Update contributors.txt 2020-09-16 08:44:54 +02:00
Robert McGregor f7af6c07d5 added to contributors.txt 2020-09-15 21:06:42 +01: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 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
Terence Parr 168882d942
Merge branch 'master' into master 2020-09-10 12:56:08 -07:00
Terence Parr fb2a34d5be
Merge branch 'master' into cpp_vocabulary_cleanup 2020-09-10 10:54:44 -07:00
Terence Parr a161845829
Merge branch 'master' into master 2020-09-10 10:51:02 -07:00
Kilian Kilger cdf67a5ed2
Merge branch 'master' into master 2020-09-10 18:36:54 +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 dfc7ffc39c
Merge branch 'master' into dart-clean 2020-07-27 11:33:40 -07:00
Shan M 5f3654dea7
Sign contributors.txt 2020-07-01 11:59:04 +03:00
parrt ae5efa8a30 tweak contrib 2020-06-16 13:38:04 -07:00
Pablo Blanco Celdrán 739cb0b668
Merge branch 'master' into master 2020-06-06 19:59:20 +02:00
irabeson 3c0dbd83dd [C++ runtime] Optimizations of Vocabulary::fromTokenNames
This commit doesn't change the behavior, it contains few small improvements:
- prevent useless copy when creating the variable tokenName
- avoid to check if tokenName is empty twice
- use std::string::empty() instead of creating an empty string to compare with
- use std::string::clear() instead of assigning an empty C string to clear a string
2020-06-04 23:25:12 -04:00
Pablo Blanco Celdrán e7a10a070a Fixed deprecation warning for CPP targets > 17 2020-06-04 15:55:39 +02:00
Kilian Kilger 88dffba62e Improve coding style of auto usages 2020-06-03 20:48:19 +02:00
David MARKEY bcd88c719e
Register as a contribuor 2020-05-31 19:05:01 +02:00
Larry Li 62d56d83ae Merge branch 'master' of github.com:antlr/antlr4 into dart-clean 2020-05-25 21:01:46 +10:00
Sindre Tellevik 818f6a995a
Update contributors.txt 2020-05-25 11:36:36 +02:00
Tristan Swadell 69ba58ecbe Thread-safe ANTLR Go codegen 2020-05-01 01:57:54 -07:00
Denis Kyashif 1cb069d10f refactored AntlrInputStream.cs by removing a redundand if-statement
signed contributors.txt
2020-04-08 18:24:58 +03:00
Song Yang bc79e22297 Sign contributors.txt 2020-03-17 16:10:35 -04:00
Daniel Pitts ccc79bb883 Add myself to the contributors. 2020-02-21 19:02:56 -08:00
julibert 4a4fc30153
Update contributor.txt 2020-02-10 13:53:56 +01:00
Camilo Roca 7fc2180166 contributors.txt signed [skip ci] 2020-02-03 22:52:28 +01:00
Larry Li 46bd9e5569 add dart target 2020-01-19 18:22:06 +11:00
Terence Parr 340b95bded
Merge branch 'master' into master 2019-12-15 09:01:48 -08:00
Markus Zancolo 1565143529
Merge branch 'master' into fix/CppEmscripten 2019-12-12 10:56:42 +01:00
Felix N 5be29fd61d
Merge branch 'master' into master 2019-12-09 10:53:50 +01:00
Mark Lilback 3bd5465881
[Swift] fixed compiler warnings about using var instead of let 2019-11-18 13:42:07 -08:00
Felix Nieuwenhuizen 2751841753 Sign contributors.txty
Signed-off-by: Felix Nieuwenhuizen <felix@tdlrali.com>
2019-11-17 14:12:12 +01:00
Gerasimos Dimitriadis 437c5a7b9a
Merge branch 'master' into master 2019-11-14 23:52:19 +02:00
liuxinfeng cf0658a6ab update date 2019-11-11 21:39:04 +08:00
jerry_liu fa4b498fc2 Add pretty print AST 2019-11-11 21:33:04 +08:00
Alexei Averchenko 4f86ad5c17
Merge branch 'master' into master 2019-10-31 18:15:30 +03:00
Tabari Alexander 87a99e558a Signed contributers.txt 2019-10-29 12:11:49 -04:00
Terence Parr 15e6619ddc
Merge branch 'master' into patch-1 2019-10-10 10:43:40 -07:00
Mingyang Liu 294d460aae add to contributor list 2019-09-28 07:57:36 -07:00
Terence Parr 818c6be691
Merge branch 'master' into fix-javascript-hashing-bug 2019-09-22 08:46:37 -07:00
Kazuki Sawada b8ca3d0b14
Update contributors.txt 2019-09-17 23:34:35 +09:00
Marcos Passos 789d746636 PHP Target 2019-09-14 09:39:58 -03:00
neko1235 f11ce46ddf
Update contributors.txt 2019-09-10 16:08:49 -07:00
Terence Parr e38762e892
Merge branch 'master' into patch-1 2019-09-10 08:19:21 -07:00
Iman Hosseini 3c1231738e
Update contributors.txt 2019-09-10 02:29:13 -04:00
João Henrique ff1283affb General XPath fixes for the Python3 runtime 2019-09-03 19:21:42 -03:00
Eric Vergnaud 0de9612e5d adding original contributor 2019-08-24 02:10:12 +08:00
Braavos c3c52bb2b5
Test cases
https://github.com/antlr/antlr4/pull/2571
2019-07-26 08:50:14 +01:00