llvm-project/clang/test/CodeCompletion
Olivier Goffart f9e890cbf9 Fix a few issues while skipping function bodies
- In functions with try { } catch { }, only the try block would be
   skipped, not the catch blocks

 - The template functions would still be parsed.

 - The initializers within a constructor would still be parsed.

 - The inline functions within class would still be stored, only to be
   discared later.

 - Invalid code with try would assert (as in "int foo() try assert_here")

This attempt to do even less while skipping function bodies.

Differential Revision: http://reviews.llvm.org/D20821

llvm-svn: 272963
2016-06-16 21:40:06 +00:00
..
Inputs Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
PR9728.cpp
auto.cpp
bracket-decl.c [Parse] Code complete expressions in bracket declarators. 2016-02-18 15:30:24 +00:00
call.c
call.cpp
constexpr.cpp
ctor-initializer.cpp Fix a few issues while skipping function bodies 2016-06-16 21:40:06 +00:00
documentation.cpp
documentation.m Fix ObjCMethodDecl::findPropertyDecl for class properties. 2016-03-11 21:14:40 +00:00
enum-switch-case-qualified.cpp
enum-switch-case.c
enum-switch-case.cpp
function-templates.cpp
functions.cpp
macros-in-modules.c Fix code completion tests to use an explicit modules cache path 2015-07-20 21:22:46 +00:00
macros-in-modules.m Fix code completion tests to use an explicit modules cache path 2015-07-20 21:22:46 +00:00
macros.c
member-access.c
member-access.cpp
namespace-alias.cpp
namespace.cpp
nested-name-specifier.cpp
objc-expr.m
objc-message.m
objc-message.mm
operator.cpp
ordinary-name-cxx11.cpp [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
ordinary-name.c
ordinary-name.cpp [Tests] Modified Lit Tests to be C++11 compatibile 2015-08-27 18:49:15 +00:00
pch-and-module.m Fix CodeCompletion & TypoCorrection when combining a PCH with Modules 2016-05-04 00:53:13 +00:00
preamble.c
some_struct.h
stdin.c
tag.c
tag.cpp
templates.cpp
truncation.c
truncation.c.h
using-namespace.cpp
using.cpp