Guard against unreadable buffers at initialization

Fix initialization being triggered with unnamed/unreadable buffers,
which was causing parsing of translation units called None, generating
several error messages.

This was happening calling g:ClangUpdateQuickFix().
Fix continuous QuickFix warning for unused args

Fix continuous QuickFix warning when g:clang_complete_macros or
g:clang_complete_patterns are enabled. This options makes reparse
to generate warning messages for unused arguments.

Warning messages for unused arguments are now being filtered out.
Merge pull request #186 from oblitum/suppress_unused_args_diagnostic

Fix continuous QuickFix warning for unused args
Merge pull request #184 from oblitum/empty_bufname

Guard against unreadable buffers at initialization
Merge pull request #189 from tobig/improved_code_completion_timer

Improved code completion timer
Merge: Mass rename C1x references to C11. The name hasn't proliferated like
"C++0x" so this patch is surprisingly small.

Also drop -Wc1x-extensions in favor of -Wc11-extensions. I don't think
we need to keep this around for compatibility.

https://llvm.org/svn/llvm-project/cfe/trunk@147221
Merge from clang

Add CXX_FINAL_ATTR, CXX_OVERRIDE_ATTR, ANNOTATE_ATTR and ASM_LABEL_ATTR
to the python bindinds. patch by Tom Schuster!

https://llvm.org/svn/llvm-project/cfe/trunk@1473
Merge: Implement __eq__ and __ne__ on SourceLocation and SourceRange

There is no type checking in __eq__, so ctypes will throw if the wrong
Python type is passed in to the C function. Personally, I feel garbage
in means garbage out and it isn't worth testing for this explicitly.

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@14982
Merge: Expose diagnostic category and option info to Python binding

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@14982
Merge: Implement Cursor.hash

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@149826
Merge: Add CursorKind.{is_translation_unit, is_preprocessing, is_unexposed}

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@149827
Merge: add TypeKind.VECTOR

Added a missing enumeration.

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@149828
Merge: Implement Cursor.underlying_typedef_type

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@149829
Merge: Implement Cursor.enum_type

Contributed by: Gregory Szorc <gregory.szorc@gmail.com>

https://llvm.org/svn/llvm-project/cfe/trunk@149830
Merge: Change type -> Type

Names that have corresponding classes in python are commonly started
with an uppercase letter. Let's follow that convention

https://llvm.org/svn/llvm-project/cfe/trunk@149831
Merge: Implement Type.is_pod

https://llvm.org/svn/llvm-project/cfe/trunk@149842
Merge: Implement Type.element_type

https://llvm.org/svn/llvm-project/cfe/trunk@150799
Merge:  Implement Type.element_count

https://llvm.org/svn/llvm-project/cfe/trunk@150800
Merge: Implement Type.is_function_variadic

https://llvm.org/svn/llvm-project/cfe/trunk@15093
Merge:  Implement Type.__eq__ and Type.__ne__

https://llvm.org/svn/llvm-project/cfe/trunk@150969