- Apr 30, 2010
-
-
Devang Patel authored
llvm-svn: 102743
-
Dan Gohman authored
llvm-svn: 102742
-
David Chisnall authored
llvm-svn: 102741
-
David Chisnall authored
llvm-svn: 102740
-
Dan Gohman authored
for unsigned purposes, so >64-bit integer values get a full all-ones value. llvm-svn: 102739
-
Dan Gohman authored
llvm-svn: 102734
-
Dan Gohman authored
llvm-svn: 102733
-
Douglas Gregor authored
of the mapping from local declarations to their instantiated counterparts during template instantiation. Previously, we tried to do some unholy merging of local instantiation scopes that involved storing a single hash table along with an "undo" list on the side... which was ugly, and never handled function parameters properly. Now, we just keep separate hash tables for each local instantiation scope, and "combining" two scopes means that we'll look in each of the combined hash tables. The combined scope stack is rarely deep, and this makes it easy to avoid the "undo" issues we were hitting. Also, I've simplified the logic for function parameters: if we're declaring a function and we need the function parameters to live longer, we just push them back into the local instantiation scope where we need them. Fixes PR6990. llvm-svn: 102732
-
Dan Gohman authored
llvm-svn: 102731
-
Dan Gohman authored
llvm-svn: 102730
-
Jakob Stoklund Olesen authored
Rounding differences causes tests to fail on Linux. llvm-svn: 102729
-
Dan Gohman authored
llvm-svn: 102728
-
Daniel Dunbar authored
Move include installation steps to better location, inside each include dir instead of at the top-level. Also, don't set NO_INSTALL=1 for c-index-test. llvm-svn: 102724
-
Dan Gohman authored
llvm-svn: 102722
-
Dan Gohman authored
comparisons sign-extended to a different bitwidth than the comparison operands. llvm-svn: 102721
-
Daniel Dunbar authored
llvm-svn: 102720
-
Daniel Dunbar authored
folks. LLVM/Clang is miscompiled by the standard GCC at -O3. llvm-svn: 102719
-
Benjamin Kramer authored
SmallBitVector: Rework find_first/find_next and tweak test to test them (at least on 64 bit platforms). llvm-svn: 102712
-
David Chisnall authored
llvm-svn: 102711
-
Abramo Bagnara authored
Add calling convention related attributes to related declaration. Mark attributes invalid on type related checking so to add them to declarations only when everything is ok. llvm-svn: 102710
-
Benjamin Kramer authored
llvm-svn: 102709
-
Benjamin Kramer authored
- We can't use PointerIntPair here since we require the discrimination bit to be in the LSB. llvm-svn: 102707
-
Abramo Bagnara authored
llvm-svn: 102705
-
John McCall authored
if *none* of the successors of the call expression is the exit block. This matters when a call of bool type is the condition of (say) a while loop in a function with no statements after the loop. This *can* happen in C, but it's much more common in C++ because of overloaded operators. Suppresses some substantial number of spurious -Wmissing-noreturn warnings. llvm-svn: 102696
-
Douglas Gregor authored
llvm-svn: 102695
-
Evan Cheng authored
llvm-svn: 102694
-
Douglas Gregor authored
specializations, which keeps track of the order in which they were originally declared. We use this number so that we can always walk the list of partial specializations in a predictable order during matching or template instantiation. This also fixes a failure in Boost.Proto, where SourceManager::isBeforeInTranslationUnit was behaving poorly in inconsistent ways. llvm-svn: 102693
-
John McCall authored
a class with virtual bases. Just a patch until Sema starts (correctly) doing most of this analysis. Fixes PR 6622. llvm-svn: 102692
-
Douglas Gregor authored
InjectedClassNameType's Decl to point at the definition. It's a little messy, but we do the same thing with classes and their record types, since much of Clang expects that the TagDecl* one gets out of a type is the definition. Fixes several Boost.Proto failures. llvm-svn: 102691
-
Zhongxing Xu authored
llvm-svn: 102690
-
Zhongxing Xu authored
translation unit is parsed. This enables us to inline some calls when still analyzing one function at a time. Actions are classified into Function, CXXMethod, ObjCMethod, ObjCImplementation. This does not hurt performance much. The analysis time for sqlite3.c: before: real 17m52.440s user 17m49.460s sys 0m2.010s after: real 18m0.500s user 17m56.900s sys 0m2.330s DisplayProgress option is broken now. -inine-call action is removed. It will be reenabled in another form, perhaps as an indenpendant option. llvm-svn: 102689
-
John McCall authored
Also resolve a long-working FIXME in the test case I modified. llvm-svn: 102688
-
Douglas Gregor authored
llvm-svn: 102687
-
Douglas Gregor authored
llvm-svn: 102686
-
John McCall authored
when used by the exceptions routines. Fixes PR 6974. llvm-svn: 102684
-
Evan Cheng authored
Another sibcall bug. If caller and callee calling conventions differ, then it's only safe to do a tail call if the results are returned in the same way. llvm-svn: 102683
-
Nate Begeman authored
llvm-svn: 102681
-
Dan Gohman authored
llvm-svn: 102680
-
Jeffrey Yasskin authored
MachineFunction::DefaultDebugLoc. We now use the same technique as DwarfDebug::beginFunction to find the starting line number for a function. llvm-svn: 102679
-
Dan Gohman authored
easy cases. llvm-svn: 102678
-