diff options
author | Jannick Kremer <jannick.kremer@mailbox.org> | 2024-08-16 00:32:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-16 00:32:58 +0200 |
commit | c5b611a419ca8acab041ca52a94c6338bdcd1756 (patch) | |
tree | c7fb6eb45324fee707c17db673e97cfe0091da7c /flang/module | |
parent | c458e9e034b2c49a4b35eb732f08a30b338a9ae2 (diff) | |
download | llvm-c5b611a419ca8acab041ca52a94c6338bdcd1756.zip llvm-c5b611a419ca8acab041ca52a94c6338bdcd1756.tar.gz llvm-c5b611a419ca8acab041ca52a94c6338bdcd1756.tar.bz2 |
[libclang/python] Expose `clang_isBeforeInTranslationUnit` for `SourceRange.__contains__`
Add libclang function `clang_isBeforeInTranslationUnit` to allow checking the order between two source locations.
Simplify the `SourceRange.__contains__` implementation using this new function.
Add tests for `SourceRange.__contains__` and the newly added functionality.
Fixes #22617
Fixes #52827
Diffstat (limited to 'flang/module')
0 files changed, 0 insertions, 0 deletions