- Jan 01, 2010
-
-
Anders Carlsson authored
llvm-svn: 92399
-
Douglas Gregor authored
Make sure that the search for visible declarations looks into the semantic parents of out-of-line function contexts llvm-svn: 92397
-
Douglas Gregor authored
llvm-svn: 92396
-
Mike Stump authored
llvm-svn: 92386
-
Mike Stump authored
llvm-svn: 92385
-
Douglas Gregor authored
class), provide a suggestion for the type or class found. However, since we can't recover properly in this case, don't provide a fix-it hint. Example: test/FixIt/typo.m:8:3: error: use of undeclared identifier 'NSstring'; did you mean 'NSString'? NSstring *str = @"A string"; ... ^ 1 diagnostic generated. llvm-svn: 92379
-
Douglas Gregor authored
test/FixIt/typo.c:19:4: error: field designator 'bunds' does not refer to any field in type 'struct Window'; did you mean 'bounds'? .bunds. ^~~~~ bounds llvm-svn: 92376
-
- Dec 31, 2009
-
-
Anders Carlsson authored
llvm-svn: 92371
-
Anders Carlsson authored
llvm-svn: 92367
-
Anders Carlsson authored
Make sure that an overriding return type is complete before checking if it's covariant. Fixes PR5920. llvm-svn: 92365
-
Anders Carlsson authored
Remove rtti.cpp, it's very fragile and has been marked XFAIL for a while now. Between rtti-layout.cpp and rtti-linkage.cpp, RTTI testing should be covered. llvm-svn: 92361
-
Anders Carlsson authored
llvm-svn: 92360
-
Benjamin Kramer authored
llvm-svn: 92358
-
Benjamin Kramer authored
llvm-svn: 92357
-
Douglas Gregor authored
test/FixIt/typo.cpp:41:15: error: initializer 'base' does not name a non-static data member or base class; did you mean the base class 'Base'? Derived() : base(), ^~~~ Base test/FixIt/typo.cpp:42:15: error: initializer 'ember' does not name a non-static data member or base class; did you mean the member 'member'? ember() { } ^~~~~ member llvm-svn: 92355
-
Douglas Gregor authored
llvm-svn: 92351
-
Douglas Gregor authored
typo.cpp:18:1: error: use of undeclared identifier 'other_std'; did you mean 'otherstd'? other_std::strng str1; ^~~~~~~~~ otherstd llvm-svn: 92350
-
Douglas Gregor authored
typo.cpp:27:8: error: no template named 'basic_sting' in namespace 'std'; did you mean 'basic_string'? std::basic_sting<char> b2; ~~~~~^~~~~~~~~~~ basic_string llvm-svn: 92348
-
Douglas Gregor authored
s.fnd("hello") llvm-svn: 92345
-
Zhongxing Xu authored
Add new states for symbolic regions tracked by malloc checker. This enables us to do malloc checking more accurately. See test case. Based on Lei Zhang's patch and discussion. llvm-svn: 92342
-
Douglas Gregor authored
typo.cpp:22:10: error: use of undeclared identifier 'radious'; did you mean 'radius'? return radious * pi; ^~~~~~~ radius This was super-easy, since we already had decent recovery by looking for names in dependent base classes. llvm-svn: 92341
-
Chris Lattner authored
not emitting a follow-on error about 'int', which the user never wrote. PR5924. llvm-svn: 92339
-
Anders Carlsson authored
llvm-svn: 92319
-
- Dec 30, 2009
-
-
Zhongxing Xu authored
llvm-svn: 92318
-
Chris Lattner authored
llvm-svn: 92317
-
Chris Lattner authored
attach the appropriate attributes to it. I don't think this manifests as any real change though, we're still not getting the right LLVM IR attributes out of codegen. llvm-svn: 92316
-
Zhongxing Xu authored
llvm-svn: 92314
-
Chris Lattner authored
C++2.13.2p2: "A wide-character literal has type wchar_t" llvm-svn: 92313
-
Fariborz Jahanian authored
the declaration in the presence of an initializer macro. llvm-svn: 92312
-
Chris Lattner authored
llvm-svn: 92310
-
Douglas Gregor authored
tring str2; we produce the following diagnostic + fix-it: typo.cpp:15:1: error: unknown type name 'tring'; did you mean 'string'? tring str2; ^~~~~ string To make this really useful, we'll need to introduce typo correction in many more places (wherever we do name lookup), and implement declaration-vs-expression heuristics that cope with typos better. However, for now this will handle the simple cases where we already get good "unknown type name" diagnostics. The LookupVisibleDecls functions are intended to be used by code completion as well as typo correction; that refactoring will happen later. llvm-svn: 92308
-
Douglas Gregor authored
llvm-svn: 92307
-
Zhongxing Xu authored
llvm-svn: 92306
-
Zhongxing Xu authored
llvm-svn: 92305
-
Chandler Carruth authored
QualType to get CVR-qualifiers through array types, and switches the primary comparison methods to use it. This may allow simplifying some of the callers of getUnqualifiedArrayType. Also fix the normalizing of CV-qualification during template deduction to normalize through arrays and allow a more qualified deduced array type. This fixes PR5911. llvm-svn: 92289
-
Anders Carlsson authored
llvm-svn: 92286
-
Anders Carlsson authored
llvm-svn: 92285
-
Anders Carlsson authored
llvm-svn: 92284
-
John McCall authored
the AST lest we run into some crazy canonicalization bug like PR5874. llvm-svn: 92283
-
Eli Friedman authored
llvm-svn: 92282
-