Merge: Add bindings for clang_getCompletionBriefComment to cindex.py.

https://llvm.org/svn/llvm-project/cfe/trunk@163966
Merge: Fix cindex.py compatibility with older libclang.so

The issue is that we were calling clang_getCompletionBriefComment
unconditionally.  New we check if this function is available before
calling it.

https://llvm.org/svn/llvm-project/cfe/trunk@164464
Merge: Python bindings: Add missing availability kind.

Patch by Leo Liu, test case by me.

https://llvm.org/svn/llvm-project/cfe/trunk@165374
Merge: Python bindings: fix typo.

https://llvm.org/svn/llvm-project/cfe/trunk@165375
Merge: [clang.py] Add Cursor.get_arguments()

Patch provided by Matthias Kleine <matthias_kleine@gmx.de>

https://llvm.org/svn/llvm-project/cfe/trunk@167216
Merge pull request #213 from tobig/update_cindexpy

Update cindex.py up to clang from 01/11/2012
Refactor the compiler arguments processing
Use CompilationDatabase from libclang
Use a context manager to handle working directory changes. Needs python 2.6.

Python 2.5 can be supported if we add the appropriate import from future.
Revert "Don't allow duplicate entry in the completion popup."

This reverts commit 53462d915fcd4ae805d69eb6ff7ba104d390a5a1.

That was causing issues when snippets were disabled.
Refactor the compiler arguments processing
Remove a workaround due to broken cindex.py iterator
debug mode: Print clang command line for parsing
debug mode: Print clang command line for completion
Merge branch 'cdb_v5' of git://github.com/Arnaud-de-Grandmaison/clang_complete into cdb
Merge branch 'print_command_line' of git://github.com/tobig/clang_complete into tobig

Conflicts:
	plugin/libclang.py
Fix merge error
Use the clang driver instead of 'clang -cc1'

By using the clang driver all system include paths are automatically
available and there is no need to recover in any way.
Do not provide the clang/gcc autoloader any more

The clang and gcc autoloaders are not necessary any more to optain the
system include paths. Due to the previous commit, the include paths are
now correctly added by the clang driver. libclang always used internally
the clang driver and never had problems finding the system include paths.

We remove these options as incorrectly derived include paths can cause
all kind of spurious problems.

We now print the following message, if someone manually adds 'clang' or
'gcc' to the auto_user_options:

  'gcc' in clang_auto_user_options is deprecated.
Always initialize g:clang_library_path

Like this we can avoid special cases in the later code path