| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 92045
|
|
|
|
| |
llvm-svn: 92044
|
|
|
|
|
|
| |
c-index-test (whose memory management behavior may change in the future).
llvm-svn: 92043
|
|
|
|
| |
llvm-svn: 92041
|
|
|
|
| |
llvm-svn: 92030
|
|
|
|
|
|
|
| |
as a character literal, not a string literal. This might fix
rdar://7486575
llvm-svn: 92025
|
|
|
|
|
|
| |
accurate.
llvm-svn: 92018
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
member function thereof), perform the template instantiation each time
the default argument is needed. This ensures that
(1) We get different CXXTemporary objects for each instantiation, and
(2) Any other instantiations or definitions triggered by the
instantiation of the default argument expression are guaranteed to
happen; previously, they might have been suppressed, e.g., because
they happened in an unevaluated context.
This fixes the majority of PR5810. However, it does not address the
problem where we may have multiple uses of the same CXXTemporary
within an expression when the temporary came from a non-instantiated
default argument expression.
llvm-svn: 92015
|
|
|
|
| |
llvm-svn: 92014
|
|
|
|
|
|
| |
expressions (via StmtIterator), as those expressions are owned by the Decls and Types (which are destroyed elsewhere). This fixes a crasher reported in <rdar://problem/7487294>.
llvm-svn: 91990
|
|
|
|
|
|
|
|
| |
mode.
Add transfer function support in GRExprEngine for IfStmts with initialized condition variables.
llvm-svn: 91987
|
|
|
|
|
|
| |
CXXExprTemporaries.
llvm-svn: 91986
|
|
|
|
|
|
|
| |
only takes a boolean second argument now. Update tests accordingly.
Currently the builtin still accepts the full range for compatibility.
llvm-svn: 91983
|
|
|
|
|
|
| |
pointer value, we were not correctly layering the correct ElementRegion on the original SymbolicRegion.
llvm-svn: 91981
|
|
|
|
|
|
| |
GRExprEngine::VisitCast when the expression is handled as an lvalue.
llvm-svn: 91969
|
|
|
|
| |
llvm-svn: 91965
|
|
|
|
| |
llvm-svn: 91962
|
|
|
|
| |
llvm-svn: 91957
|
|
|
|
|
|
|
|
| |
Prevents an assert on successive redeclarations.
Fixed PR5573.
llvm-svn: 91956
|
|
|
|
| |
llvm-svn: 91952
|
|
|
|
| |
llvm-svn: 91951
|
|
|
|
|
|
| |
while at it, remove an outdated FIXME
llvm-svn: 91946
|
|
|
|
|
|
|
|
| |
size_t. Also, fix an issue with initialization of parameters in calls,
where we weren't removing the cv-qualifiers on the parameter type
itself. Fixes PR5823.
llvm-svn: 91941
|
|
|
|
|
|
|
| |
paths. Fixes "cannot compile this unexpected cast lvalue yet" error in
llvm/lib/Analysis/IPA/GlobalsModRef.cpp.
llvm-svn: 91932
|
|
|
|
| |
llvm-svn: 91928
|
|
|
|
| |
llvm-svn: 91927
|
|
|
|
|
|
| |
expression as an lvalue when the return type is a C++ reference.
llvm-svn: 91926
|
|
|
|
| |
llvm-svn: 91911
|
|
|
|
|
|
| |
for copy-initialization.
llvm-svn: 91909
|
|
|
|
|
|
|
| |
a size, check whether the transformed type is itself an array type. If
so, take the major array bound as the size to allocate. Fixes PR5833.
llvm-svn: 91907
|
|
|
|
|
|
|
|
|
|
|
| |
InitializationSequence (when a FunctionDecl is present). This required
a few small fixes to initialization sequences:
- Make sure to use the adjusted parameter type for initialization of
function parameters.
- Implement transparent union calling semantics in C
llvm-svn: 91902
|
|
|
|
|
|
|
|
| |
correctly, giving them the correct arity.
With this seemingly insignificant fix, we are now able to build and link clang using clang itself! (LLVM still has to be built with gcc for the time being).
llvm-svn: 91893
|
|
|
|
|
|
| |
who prefers to be stealthy and mysterious.
llvm-svn: 91888
|
|
|
|
|
|
| |
must also mark the member decl as referenced.
llvm-svn: 91887
|
|
|
|
| |
llvm-svn: 91883
|
|
|
|
| |
llvm-svn: 91881
|
|
|
|
|
|
|
|
| |
integer.
- This is consistent, but may not be correct. I will revisit x86_64 ABI handling for C++ as a whole at some point.
- PR5831.
llvm-svn: 91874
|
|
|
|
|
|
|
|
|
| |
constructor call, the conversion is only a standard conversion
sequence if that constructor is a copy constructor. This fixes PR5834
in a semi-lame way, because the "real" fix will be to move over to
InitializationSequence. That will happen "soonish", but not now.
llvm-svn: 91861
|
|
|
|
|
|
|
| |
sure to fill in the initialized member of a union when a member was
explicitly designated. Fixes PR5843.
llvm-svn: 91858
|
|
|
|
|
|
|
|
| |
- Correctly is in quotes, because we are following what I interpreted as GCC's
intent (which diverges from practice, naturally).
- Also, fix the arch define for arm1136jf-s.
llvm-svn: 91855
|
|
|
|
|
|
|
|
|
|
| |
explicitly-specified template arguments are enough to determine the
instantiation, and either template argument deduction fails or is not
performed in that context, we can resolve the template-id down to a
function template specialization (so sayeth C++0x
[temp.arg.explicit]p3). Fixes PR5811.
llvm-svn: 91852
|
|
|
|
|
|
| |
as a g++ extension (fixes radar 7481987).
llvm-svn: 91827
|
|
|
|
|
|
|
|
|
|
| |
Sema::getTypeName.
"LookupNestedNameSpecifierName" isn't quite the right kind of lookup, though;
it doesn't ignore namespaces. Someone more familiar with the lookup code
should fix this properly.
llvm-svn: 91809
|
|
|
|
| |
llvm-svn: 91806
|
|
|
|
| |
llvm-svn: 91805
|
|
|
|
|
|
| |
pointee is incomplete.
llvm-svn: 91804
|
|
|
|
| |
llvm-svn: 91803
|
|
|
|
| |
llvm-svn: 91802
|
|
|
|
| |
llvm-svn: 91800
|
|
|
|
|
|
| |
right linkage for indirect pointers to incomplete structs.
llvm-svn: 91799
|