llvm-project/clang/lib/Sema
Chris Lattner 23464b8f14 tweak non-null check to put the caret on the function, but underline the
argument.  This avoids the argument from being silenced when the argument is
the NULL macro, which is defined in a system header.  This also makes the output
a bit nicer, e.g.:

t.c:8:3: warning: null passed to a callee which requires a non-null argument
  func1(NULL, cp2, i1);
  ^     ~~~~

vs something like:

t.c:8:10: warning: argument is null where non-null is required
  func1(NULL, cp2, i1);
        ^

llvm-svn: 72393
2009-05-25 18:23:36 +00:00
..
CMakeLists.txt Move statement instantiation into its own file. No functionality change 2009-05-15 18:22:25 +00:00
CXXFieldCollector.h Unifies the name-lookup mechanisms used in various parts of the AST 2008-12-11 16:49:14 +00:00
IdentifierResolver.cpp Lazy deserialization of the declaration chains associated with 2009-04-21 22:25:48 +00:00
IdentifierResolver.h Lazy deserialization of the declaration chains associated with 2009-04-21 22:25:48 +00:00
JumpDiagnostics.cpp Improve validation of C++ exception handling: diagnose throwing incomplete types and jumps into protected try-catch scopes. 2009-04-27 20:27:31 +00:00
Makefile Build system changes to use TableGen to generate the various 2009-03-16 23:06:59 +00:00
ParseAST.cpp Lazy deserialization of the declaration chains associated with 2009-04-21 22:25:48 +00:00
Sema.cpp Introduce a stack of instantiation scopes that are used to store the mapping from variable declarations that occur within templates to their instantiated counterparts 2009-05-14 21:44:34 +00:00
Sema.h Check on null arguments in the presense of nonnull attribute. 2009-05-21 18:48:51 +00:00
SemaAccess.cpp Add a new, more advanced CheckDerivedToBaseConversion that takes custom diagnostic IDs. 2009-05-13 21:11:42 +00:00
SemaAttr.cpp Deallocate 'DeclRefExpr's in correctly formed '#pragma unused' 2009-03-23 22:50:47 +00:00
SemaCXXScopeSpec.cpp Implement explicit instantiations of member classes of class templates, e.g., 2009-05-14 00:28:11 +00:00
SemaChecking.cpp tweak non-null check to put the caret on the function, but underline the 2009-05-25 18:23:36 +00:00
SemaDecl.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
SemaDeclAttr.cpp implementation of format_arg for ObjC methods/functions. 2009-05-20 17:41:43 +00:00
SemaDeclCXX.cpp When assigning from an rvalue to a const reference, the implicit cast from T -> const T is not an lvalue cast. 2009-05-19 00:38:24 +00:00
SemaDeclObjC.cpp (Next runtime only) check to see if class implements forwardInvocation method 2009-05-22 17:12:32 +00:00
SemaExpr.cpp Cannot type cast @selector expressions. 2009-05-22 21:42:52 +00:00
SemaExprCXX.cpp Template instantiation for C++ "new" expressions. 2009-05-21 00:00:09 +00:00
SemaExprObjC.cpp Fixed a warning bug when receiver is an object via 2009-05-21 21:04:28 +00:00
SemaInherit.cpp Use an iterator type for found_decls_begin/found_decls_end. 2009-05-13 21:22:06 +00:00
SemaInherit.h Use an iterator type for found_decls_begin/found_decls_end. 2009-05-13 21:22:06 +00:00
SemaInit.cpp Template instantiation for GNU array-range designators. 2009-05-21 23:30:39 +00:00
SemaLookup.cpp Fix sorting of using directives, from Jay Foad 2009-05-18 22:06:54 +00:00
SemaNamedCast.cpp Reflow some comments. 2009-05-16 07:39:55 +00:00
SemaOverload.cpp Avoid using the built-in type checker for assignment in C++ when classes are involved. Patch by Vyacheslav Kononenko. 2009-05-21 11:50:50 +00:00
SemaOverload.h Fix a crash bug when comparing overload quality of conversion operators with conversion constructors. 2009-04-16 17:51:27 +00:00
SemaStmt.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
SemaTemplate.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
SemaTemplateInstantiate.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
SemaTemplateInstantiateDecl.cpp Use v.data() instead of &v[0] when SmallVector v might be empty. 2009-05-21 09:52:38 +00:00
SemaTemplateInstantiateExpr.cpp Template instantiation for qualified declaration reference 2009-05-22 23:47:06 +00:00
SemaTemplateInstantiateStmt.cpp Merge the ASTVector and ASTOwningVector templates, since they offered 2009-05-21 16:25:11 +00:00
SemaType.cpp Template instantiation for C99 compound literals 2009-05-21 23:48:18 +00:00