diff options
author | Andy Gibbs <andyg1001@hotmail.co.uk> | 2016-04-05 08:36:47 +0000 |
---|---|---|
committer | Andy Gibbs <andyg1001@hotmail.co.uk> | 2016-04-05 08:36:47 +0000 |
commit | 50b6ceff1f0648084e0d6edc3038d35892de14ba (patch) | |
tree | 6f6bfb14d4f1560dd752c24a4792948148986d9e /lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py | |
parent | 535afd808dc645530d53bf5f8ccf9d6f08f330e6 (diff) | |
download | bcm5719-llvm-50b6ceff1f0648084e0d6edc3038d35892de14ba.tar.gz bcm5719-llvm-50b6ceff1f0648084e0d6edc3038d35892de14ba.zip |
Consolidate and improve the handling of built-in feature-like macros
Summary:
The parsing logic has been separated out from the macro implementation logic, leading to a number of improvements:
* Gracefully handle unexpected/invalid tokens, too few, too many and nested parameters
* Provide consistent behaviour between all built-in feature-like macros
* Simplify the implementation of macro logic
* Fix __is_identifier to correctly return '0' for non-identifiers
Reviewers: doug.gregor, rsmith
Subscribers: rsmith, cfe-commits
Differential Revision: http://reviews.llvm.org/D17149
llvm-svn: 265381
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/process/TestProcessAPI.py')
0 files changed, 0 insertions, 0 deletions