llvm-project/clang/lib/Sema
Serge Pavlov c4e04a2964 [Modules] More descriptive diagnostics for misplaced import directive
If an import directive was put into wrong context, the error message was obscure,
complaining on misbalanced braces. To get more descriptive messages, annotation
tokens related to modules are processed where they must not be seen.

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

llvm-svn: 248085
2015-09-19 05:32:57 +00:00
..
AnalysisBasedWarnings.cpp Fix a few things with -Winfinite-recursion. NFC 2015-08-21 03:43:09 +00:00
AttributeList.cpp [Sema] Handle leading and trailing __ for GNU attributes 2015-08-25 16:44:38 +00:00
CMakeLists.txt Split off CUDA-specific Sema parts to a new file 2014-09-03 15:27:03 +00:00
CodeCompleteConsumer.cpp [libclang] Replace ObjC generic parameters in code-completion results. 2015-07-07 06:20:19 +00:00
DeclSpec.cpp PR24595: Ignore calling convention modifiers for structors in MS ABI. 2015-09-14 21:29:57 +00:00
DelayedDiagnostic.cpp Add -Wpartial-availability. 2015-03-19 19:18:22 +00:00
IdentifierResolver.cpp [modules] Remove redundant import of lexical decls when building a lookup table 2015-03-23 03:25:59 +00:00
JumpDiagnostics.cpp Switch users of the 'for (StmtRange range = stmt->children(); range; ++range)‘ pattern to range for loops. 2015-07-02 21:03:14 +00:00
Makefile
MultiplexExternalSemaSource.cpp function_ref-ize ExternalASTSource::FindExternalLexicalDecl and remove its 2015-08-05 22:41:45 +00:00
Scope.cpp MS ABI: Implement the MSVC 2015 scheme for scope disambiguation 2015-03-19 21:54:30 +00:00
ScopeInfo.cpp Wdeprecated: LambdaScopeInfos are copied in TreeTransform, so make sure they're copyable. 2015-08-13 21:23:08 +00:00
Sema.cpp Fix for assertion fail for pragma weak on typedef. 2015-09-18 07:40:22 +00:00
SemaAccess.cpp -Wdeprecated: SavedInstanceContext is returned by value but isn't really copyable, but it can be made movable 2015-08-12 22:58:10 +00:00
SemaAttr.cpp Implement section pragma feedback on r205810 2015-03-04 23:39:17 +00:00
SemaCUDA.cpp Create a frontend flag to disable CUDA cross-target call checks 2015-04-15 22:27:06 +00:00
SemaCXXScopeSpec.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
SemaCast.cpp [MS ABI] Remove another call to RequireCompleteType 2015-09-11 00:53:15 +00:00
SemaChecking.cpp Support __builtin_ms_va_list. 2015-09-17 20:55:33 +00:00
SemaCodeComplete.cpp [code-completion] Strip outer nullability annotations when completing method implementations. 2015-07-24 17:00:19 +00:00
SemaConsumer.cpp
SemaDecl.cpp [Modules] More descriptive diagnostics for misplaced import directive 2015-09-19 05:32:57 +00:00
SemaDeclAttr.cpp MS ABI: Don't allow dllexport/import on lambdas 2015-09-15 21:05:30 +00:00
SemaDeclCXX.cpp [modules] A using-declaration doesn't introduce a new entity, just a new name 2015-09-15 01:28:55 +00:00
SemaDeclObjC.cpp Move class into an anonymous namespace. NFC. 2015-07-13 20:42:13 +00:00
SemaExceptionSpec.cpp [OPENMP 4.0] Initial support for array sections. 2015-08-25 14:24:04 +00:00
SemaExpr.cpp Support __builtin_ms_va_list. 2015-09-17 20:55:33 +00:00
SemaExprCXX.cpp [Sema] Reject value-initialization of function types 2015-09-14 07:05:00 +00:00
SemaExprMember.cpp Add a new frontend warning for referencing members from the handler of a constructor or destructor function-try-block, which is UB in C++. 2015-09-01 14:49:24 +00:00
SemaExprObjC.cpp Silence a "not all control paths return a value" warning from MSVC. Should also silence a -Wreturn-type warning. NFC intended. 2015-07-24 12:47:27 +00:00
SemaFixItUtils.cpp [modules] Stop trying to fake up a linear MacroDirective history. 2015-04-29 23:20:19 +00:00
SemaInit.cpp Clarify the error message when the reason the conversion is not viable is because the returned value does not match the function return type. 2015-08-25 22:18:46 +00:00
SemaLambda.cpp [AST] ArrayRefize BlockDecl::setCaptures. No functionality change intended. 2015-08-05 09:40:35 +00:00
SemaLookup.cpp [modules] When picking one of two template declarations as a lookup result, 2015-09-11 22:39:35 +00:00
SemaObjCProperty.cpp [sema] Allow to opt-out of overriding the super class's designated initializers by marking the initializer as unavailable in the subclass. 2015-07-30 19:06:04 +00:00
SemaOpenMP.cpp [OPENMP 4.0] Add 'if' clause for 'cancel' directive. 2015-09-18 08:07:34 +00:00
SemaOverload.cpp [modules] A using-declaration doesn't introduce a new entity, just a new name 2015-09-15 01:28:55 +00:00
SemaPseudoObject.cpp When building a pseudo-object assignment, and the RHS is 2015-08-22 00:35:27 +00:00
SemaStmt.cpp Fix a potential APInt memory leak when using __attribute__((flag_enum)), and 2015-09-04 01:03:03 +00:00
SemaStmtAsm.cpp Add a new frontend warning for referencing members from the handler of a constructor or destructor function-try-block, which is UB in C++. 2015-09-01 14:49:24 +00:00
SemaStmtAttr.cpp Add new llvm.loop.unroll.enable metadata for use with "#pragma unroll". 2015-08-10 17:29:39 +00:00
SemaTemplate.cpp Simplify logic introduced in r247464. 2015-09-11 20:55:29 +00:00
SemaTemplateDeduction.cpp Convert a few classes over to use the new TrailingObjects helper. 2015-08-06 20:26:32 +00:00
SemaTemplateInstantiate.cpp Instantiate function declarations in instantiated functions. 2015-08-23 10:22:28 +00:00
SemaTemplateInstantiateDecl.cpp [MS ABI] Correctly mangle classes without names for linkage purposes 2015-08-31 18:48:39 +00:00
SemaTemplateVariadic.cpp Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00
SemaType.cpp [OpenCL] Add new types for OpenCL 2.0. 2015-09-15 11:18:52 +00:00
TreeTransform.h [OPENMP 4.1] Parsing/sema analysis for extended format of 'if' clause. 2015-09-03 07:23:48 +00:00
TypeLocBuilder.cpp [C++11] Use 'nullptr'. Sema edition. 2014-05-26 06:22:03 +00:00
TypeLocBuilder.h Revert r240270 ("Fixed/added namespace ending comments using clang-tidy"). 2015-06-22 23:07:51 +00:00