- Oct 26, 2009
-
-
Chris Lattner authored
or global after a function with conflicting names. Update some testcases that were accidentally depending on this behavior. llvm-svn: 85081
-
Daniel Dunbar authored
llvm-svn: 85079
-
Daniel Dunbar authored
llvm-svn: 85078
-
Chris Lattner authored
functions it should just look them up like declarations. llvm-svn: 85077
-
- Oct 25, 2009
-
-
Chris Lattner authored
llvm-svn: 85076
-
Chris Lattner authored
declared noreturn. llvm-svn: 85075
-
Chandler Carruth authored
llvm-svn: 85074
-
-
Sebastian Redl authored
llvm-svn: 85072
-
Chris Lattner authored
process decl attributes instead of dropping them on the floor. This allows us to diagnose cases like the testcase. Also don't diagnose deprecated stuff in ActOnTag: not all uses of tags may be 'uses', and SemaType does this now. llvm-svn: 85071
-
Chris Lattner authored
types) out of Sema::getTypeName into ConvertDeclSpecToType. getTypeName is sometimes used as a predicate in the parser, so it could cause redundant diags to be emitted. This is also needed by two upcoming enhancements. llvm-svn: 85070
-
Chris Lattner authored
llvm-svn: 85069
-
Sebastian Redl authored
Remove the Skip parameter from GetTypeForDeclarator and dependents. Take the opportunity to improve an error message and fix PR4498. llvm-svn: 85068
-
Chris Lattner authored
llvm-svn: 85067
-
Daniel Dunbar authored
will have \r\n. - Perhaps we should make FileCheck normalize line-endings, even in strict-whitespace mode? llvm-svn: 85066
-
Jim Grosbach authored
llvm-svn: 85065
-
Jim Grosbach authored
llvm-svn: 85064
-
Chris Lattner authored
GetTypeForDeclarator and into the code that handles long long already. llvm-svn: 85063
-
Chris Lattner authored
block return types only when a TST isn't specified, not every time through GetTypeForDeclarator. llvm-svn: 85062
-
Chris Lattner authored
llvm-svn: 85061
-
Chris Lattner authored
of ConvertDeclSpecToType, which I'd like to keep private to SemaType.cpp. We do this by cons'ing up a trivial Declarator for the type. John, please review. llvm-svn: 85060
-
Chris Lattner authored
llvm-svn: 85059
-
Chris Lattner authored
llvm-svn: 85058
-
Chris Lattner authored
IIDecl cannot be null. There is no need to check for both C++ mode and presence of CXXRecordDecl. ObjC interfaces can't have ScopeSpecs. llvm-svn: 85057
-
Chris Lattner authored
type looking using getTypeName() and every property access was using NextToken() to do lookahead to see if the identifier is followed by a '.'. Rearrange this code to not need lookahead and only do the type lookup if we have "identifier." in the token stream. Also improve a diagnostic a bit. llvm-svn: 85056
-
Sebastian Redl authored
Audit the code for places where it is assumed that every base specifier refers to a RecordType. Add assertions or conditions as appropriate. This fixes another crash in the Apache stdlib vector. llvm-svn: 85055
-
Sebastian Redl authored
llvm-svn: 85054
-
Sanjiv Gupta authored
llvm-svn: 85052
-
Evan Cheng authored
llvm-svn: 85051
-
Evan Cheng authored
llvm-svn: 85050
-
Evan Cheng authored
llvm-svn: 85049
-
Evan Cheng authored
llvm-svn: 85048
-
Evan Cheng authored
llvm-svn: 85047
-
Evan Cheng authored
llvm-svn: 85046
-
Evan Cheng authored
Do not delete identity insert_subreg even if dest is virtual. Let later passes delete them. This avoids register scavenger complain. llvm-svn: 85045
-
Evan Cheng authored
llvm-svn: 85044
-
Nick Lewycky authored
VISIBILITY_HIDDEN removal. llvm-svn: 85043
-
Nick Lewycky authored
Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
-
Chris Lattner authored
llvm-svn: 85041
-
Chris Lattner authored
This allows us to simplify this: union vec2d { double e[2]; double v __attribute__((vector_size(16))); }; typedef union vec2d vec2d; static vec2d a={{1,2}}, b={{3,4}}; vec2d foo () { return (vec2d){ .v = a.v + b.v * (vec2d){{5,5}}.v }; } down to: define %0 @foo() nounwind ssp { entry: %mrv5 = insertvalue %0 undef, double 1.600000e+01, 0 ; <%0> [#uses=1] %mrv6 = insertvalue %0 %mrv5, double 2.200000e+01, 1 ; <%0> [#uses=1] ret %0 %mrv6 } instead of: define %0 @foo() nounwind ssp { entry: %mrv5 = insertvalue %0 undef, double extractelement (<2 x double> fadd (<2 x double> fmul (<2 x double> bitcast (<1 x i128> <i128 85174437667405312423031577302488055808> to <2 x double>), <2 x double> <double 3.000000e+00, double 4.000000e+00>), <2 x double> <double 1.000000e+00, double 2.000000e+00>), i32 0), 0 ; <%0> [#uses=1] %mrv6 = insertvalue %0 %mrv5, double extractelement (<2 x double> fadd (<2 x double> fmul (<2 x double> bitcast (<1 x i128> <i128 85174437667405312423031577302488055808> to <2 x double>), <2 x double> <double 3.000000e+00, double 4.000000e+00>), <2 x double> <double 1.000000e+00, double 2.000000e+00>), i32 1), 1 ; <%0> [#uses=1] ret %0 %mrv6 } llvm-svn: 85040
-