summaryrefslogtreecommitdiff
path: root/tests/snippets/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Updates C and C++ lexers (#2422)Christopher Di Bella2023-04-261-0/+17
| | | | | | | | | | | * replaces `restrict` with `__restrict` in C++ `restrict` isn't a C++ keyword, but `__restrict` is recognised by Clang, GCC, and MSVC as a language extension. * adds `_BitInt` and `__int128` as C and C++ types * `_BitInt` is a new C type and an extended integral type for C++. * `__int128` is an extended integral type on both Clang and GCC.
* adds C++ alternative tokens as keywords (#2421)Christopher Di Bella2023-04-261-0/+46
|
* Update test files.Matthäus G. Chajdas2021-10-151-2/+2
|
* Refactor identifiers regex to match unicode characters (#1848)amitkummer2021-10-151-0/+146
|
* Use the correct whitespace token for the C family.Matthäus G. Chajdas2021-06-201-1/+1
| | | | The CFamilyLexer was matching whitespace as Text instead of Whitespace.
* Rename "tests/lexers" to "tests/snippets" and update the contributionGeorg Brandl2021-01-202-0/+11
docs to point to both snippets and examplefiles.