Go to file
Daniel Malea 243b36931f Fix linux argument completion with for "--" options (llvm.org/bugs/pr14425)
Patch by Yacine Belkadi!

When __GLIBC__ is defined, optind gets initialized to 0. So for the first parsed
option, parse_start is 0, too. If this option has no argument (Like "--continue"
of "process attach"), then the position stored is 0, instead of 1. This prevents
the completion later on in Options::HandleOptionCompletion() because the opt_pos
doesn't match the cursor_index.

Fix that by getting the option's position from the value of optind, as it's done
for the other types of options.

Re-enable test_process_attach_dash_dash_con() on Linux.

No regressions detected on Mac OS X (in TestCompletion.py)

llvm-svn: 180114
2013-04-23 15:28:10 +00:00
clang Make compares unsigned. The expression can't become negative anyways. 2013-04-23 14:42:47 +00:00
clang-tools-extra The option is spelled -use-auto, not -loop-convert. 2013-04-22 14:39:46 +00:00
compiler-rt tsan: update Go memory mapping, Go now uses 0x00c0 heap base 2013-04-23 15:24:26 +00:00
debuginfo-tests Remove IR scenario tests. 2013-03-15 20:52:10 +00:00
libclc Update the copyright coredits -- Happy new year 2013! 2013-01-01 10:00:19 +00:00
libcxx Zero-initialize all mbstate_t in the codecvt tests. 2013-04-23 14:09:35 +00:00
libcxxabi Add capability to demangle invocation functions for ObjC blocks. 2013-04-10 19:44:03 +00:00
lld Distinguish between unsupported and unrecognised flavours. 2013-04-16 19:24:13 +00:00
lldb Fix linux argument completion with for "--" options (llvm.org/bugs/pr14425) 2013-04-23 15:28:10 +00:00
llvm Wrap.h: Define wrap / unwrap function for ExecutionEngine 2013-04-23 15:13:36 +00:00
polly IndependentBlocks: We can only reconstruct PHI nodes that are within the ScoP 2013-04-17 07:20:36 +00:00