about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2014-02-27 22:34:08 +1100
committerAlex Crichton <alex@alexcrichton.com>2014-02-27 21:04:04 -0800
commit231832d83579b4ed0268a70e53af806a7c53e53f (patch)
tree42c76bfa63523dc3e33d5af4165b35375a439de3 /src/rustllvm/ExecutionEngineWrapper.cpp
parentea0bd40d9b03542d5b9b5bb8f84fecc274a10b82 (diff)
downloadrust-231832d83579b4ed0268a70e53af806a7c53e53f.tar.gz
rust-231832d83579b4ed0268a70e53af806a7c53e53f.zip
Improve the ctags function regular expression.
Before it would only catch lines starting `fn` or `pub fn`.

Now it can cope with:

- attributes (e.g. `#[test] fn`)
- external functions (e.g. `extern fn`, `extern "C" fn`)
- unsafe functions (e.g. `unsafe fn`)

… and any correct combination of these
(e.g. `#[test] extern "C" unsafe fn`).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions