- Nov 28, 2012
-
-
Andrew Trick authored
llvm-svn: 168772
-
Argyrios Kyrtzidis authored
allocated using the allocator associated with an ASTContext. Use this inside CXXRecordDecl::DefinitionData instead of an UnresolvedSet to avoid a potential memory leak. rdar://12761275 llvm-svn: 168771
-
Argyrios Kyrtzidis authored
expose only the iterators instead. llvm-svn: 168770
-
Richard Smith authored
a special member" diagnostic from warning to error, and fix the cases where it produced diagnostics with incorrect wording. We don't support this as an extension, and we ban it even in C++98 mode. This breaks too much (for instance, the ABI-specified calling convention for a type can change if it acquires a copy constructor through the addition of a default argument). llvm-svn: 168769
-
Andrew Trick authored
This fixes a hole in the "cheap" alias analysis logic implemented within the DAG builder itself, regardless of whether proper alias analysis is enabled. It now handles this pattern produced by LSR+CodeGenPrepare. %sunkaddr1 = ptrtoint * %obj to i64 %sunkaddr2 = add i64 %sunkaddr1, %lsr.iv %sunkaddr3 = inttoptr i64 %sunkaddr2 to i32* store i32 %v, i32* %sunkaddr3 llvm-svn: 168768
-
Andrew Trick authored
llvm-svn: 168767
-
Sean Callanan authored
a type, and we find it in the origin for that type, don't look anywhere else; just report it. <rdar://problem/12675970> llvm-svn: 168766
-
Hal Finkel authored
When two instructions are combined into a vector instruction, the resulting instruction must have the most-conservative flags. llvm-svn: 168765
-
Eric Christopher authored
ELF output. llvm-svn: 168764
-
Eric Christopher authored
llvm-svn: 168763
-
Eric Christopher authored
llvm-svn: 168762
-
Eric Christopher authored
llvm-svn: 168761
-
Jakob Stoklund Olesen authored
This class has been merged into its super-class TargetInstrInfo. llvm-svn: 168760
-
Jakob Stoklund Olesen authored
The *Impl class no longer serves a purpose now that the super-class implementation is in CodeGen. llvm-svn: 168759
-
Jakob Stoklund Olesen authored
The Target library is not allowed to depend on the large CodeGen library, but the TRI and TII classes provide abstract interfaces that require both caller and callee to link to CodeGen. The implementation files for these classes provide default implementations of some of the hooks. These methods may need to reference CodeGen, so they belong in that library. We already have a number of methods implemented in the TargetInstrInfoImpl sub-class because of that. I will merge that class into the parent next. llvm-svn: 168758
-
Ted Kremenek authored
The stop-gap here is to just drop such objects when processing the InitListExpr. We still need a better solution. Fixes <rdar://problem/12755044>. llvm-svn: 168757
-
Fariborz Jahanian authored
arc specific diagnostic on the selector. This is objc-arc part of // rdar://11303469 llvm-svn: 168756
-
Andrew Kaylor authored
llvm-svn: 168755
-
rdar://problem/12639603Greg Clayton authored
Simplify the logging on ObjectFile::~ObjectFile() to not access an classes above the object file (like the module) so we don't crash when logging object lifetimes. The log message contains the "this" pointer value which can be matched up with the constructor log. llvm-svn: 168754
-
Eli Bendersky authored
llvm-svn: 168752
-
Chad Rosier authored
llvm-svn: 168751
-
Daniel Dunbar authored
llvm-svn: 168750
-
Daniel Dunbar authored
- Also, support overriding them with lit parameters. llvm-svn: 168749
-
Enrico Granata authored
llvm-svn: 168748
-
Bill Schmidt authored
When the CodeGenInfo is to be created for the PPC64 target machine, a default code-model selection is converted to CodeModel::Medium provided we are not targeting the Darwin OS. Defaults for Darwin are unaffected. llvm-svn: 168747
-
Sean Callanan authored
DebugClang builds of LLDB to build a properly codesigned debugserver. I did this by adding a DebugClang configuration to debugserver that's just a clone of the Debug configuration. llvm-svn: 168746
-
NAKAMURA Takumi authored
Suggested by Sean McBride, thanks! llvm-svn: 168745
-
NAKAMURA Takumi authored
Suggested by Sean McBride, thanks! llvm-svn: 168744
-
rdar://problem/12754509Enrico Granata authored
Make sure that ValueObjectDynamicValue clears itself when no dynamic type information can be found This behavior was supposed to be already happening (as per the comment lines) llvm-svn: 168743
-
Ted Kremenek authored
This was also covered by <rdar://problem/12753384>. The static analyzer evaluates a CXXConstructExpr within an initializer expression and RegionStore doesn't know how to handle the resulting CXXTempObjectRegion that gets created. We need a better solution than just dropping the value, but we need to better understand how to implement the right semantics here. Thanks to Jordan for his help diagnosing the behavior here. llvm-svn: 168741
-
Fariborz Jahanian authored
objc_loadWeak. This retains and autorelease the weakly-refereced object. This hidden autorelease sometimes makes __weak variable alive even after the weak reference is erased, because the object is still referenced by an autorelease pool. This patch overcomes this behavior by loading a weak object via call to objc_loadWeakRetained(), followng it by objc_release at appropriate place, thereby removing the hidden autorelease. // rdar://10849570 llvm-svn: 168740
-
- Nov 27, 2012
-
-
Andrew Kaylor authored
llvm-svn: 168739
-
Argyrios Kyrtzidis authored
No functionality change. llvm-svn: 168738
-
Eric Christopher authored
the coding standard would like. llvm-svn: 168737
-
Eric Christopher authored
llvm-svn: 168736
-
Chad Rosier authored
classes. The vast majority of the remaining issues are due to uses of invalid registers, which are defined by getRegForValue(). Those will be a little more challenging to cleanup. rdar://12719844 llvm-svn: 168735
-
rdar://problem/12636970Greg Clayton authored
Properly detect the if unnamed bitfields are supported by clang if the major calng version is higher than 425. llvm-svn: 168734
-
Chad Rosier authored
classes. rdar://12719844 llvm-svn: 168733
-
Nico Weber authored
r128056 moved PrettyStackTraceParserEntry construction from Parser.h to ParseAST.cpp, so there's no need to keep this class in a header. llvm-svn: 168731
-
Richard Smith authored
llvm-svn: 168729
-