- Apr 07, 2012
-
-
Fariborz Jahanian authored
llvm-svn: 154220
-
Douglas Gregor authored
template parameters of pointer, pointer-to-member, or nullptr_t type in C++11. Fixes PR9700 / <rdar://problem/11193097>. llvm-svn: 154219
-
Fariborz Jahanian authored
dictionary literals. This concludes // rdar://10803676 llvm-svn: 154218
-
Daniel Dunbar authored
llvm-svn: 154217
-
Ted Kremenek authored
Rework ExprEngine::evalLoad and clients (e.g. VisitBinaryOperator) so that when we generate a new ExplodedNode we use the same Expr* as the one being currently visited. This is preparation for transitioning to having ProgramPoints refer to CFGStmts. This required a bit of trickery. We wish to keep the old Expr* bindings in the Environment intact, as plenty of logic relies on it and there is no reason to change it, but we sometimes want the Stmt* for the ProgramPoint to be different than the Expr* being used for bindings. This requires adding an extra argument for some functions (e.g., evalLocation). This looks a bit strange for some clients, but it will look a lot cleaner when were start using CFGStmt* in the appropriate places. As some fallout, the diagnostics arrows are a bit difference, since some of the node locations have changed. I have audited these, and they look reasonable. llvm-svn: 154214
-
Daniel Dunbar authored
llvm-svn: 154213
-
- Apr 06, 2012
-
-
Daniel Dunbar authored
llvm-svn: 154212
-
Johnny Chen authored
llvm-svn: 154211
-
Jakob Stoklund Olesen authored
llvm-svn: 154210
-
Jakob Stoklund Olesen authored
After register masks were introdruced to represent the call clobbers, it is no longer necessary to have duplicate instruction for iOS. llvm-svn: 154209
-
Sean Callanan authored
the stress test by a LOT. llvm-svn: 154208
-
Daniel Dunbar authored
llvm-svn: 154207
-
Daniel Dunbar authored
- This uses the llvm-theme developed by Michael Spencer and the base structure (front-facing index page) I use for LNT. llvm-svn: 154206
-
Sean Callanan authored
new features: (1) it outputs the instruction currently being tested to a log file, if a path is provided (2) if instructed, it prints the time remaining in the exhaustive test llvm-svn: 154205
-
Benjamin Kramer authored
This method is very hot, it is called when emitting diagnostics, in -E mode and for many #pragma handlers. It scans through the whole source file to count newlines, records and caches them in a vector. The speedup from vectorization isn't very large, as we fall back to bytewise scanning when we hit a newline. There might be a way to avoid leaving the sse loop but everything I tried didn't work out because a call to push_back clobbers xmm registers. About 2% speedup on average on "clang -E > /dev/null" of all .cpp files in clang's lib/Sema. llvm-svn: 154204
-
Kostya Serebryany authored
llvm-svn: 154203
-
Akira Hatanaka authored
llvm-svn: 154202
-
Kostya Serebryany authored
llvm-svn: 154201
-
Simon Atanasyan authored
llvm-svn: 154200
-
Chandler Carruth authored
which exists for this purpose. llvm-svn: 154199
-
DeLesley Hutchins authored
Thread safety analysis: downgraded requirement that mutex expressions refer to a lockable type from error to warning. llvm-svn: 154198
-
Johnny Chen authored
Plus some minor cleanup of test method names. Third and final batch is coming. llvm-svn: 154197
-
Fariborz Jahanian authored
expressions. // rdar://10803676 llvm-svn: 154196
-
Simon Atanasyan authored
MIPS: Pass -EB/-EL argument to the assembler according to selected endian when compile for MIPS targets. llvm-svn: 154195
-
Jordy Rose authored
Patch by Sean McBride! llvm-svn: 154194
-
Matt Beaumont-Gay authored
llvm-svn: 154193
-
Sean Callanan authored
disassembler requires a MCSubtargetInfo and a MCInstrInfo to exist in order to initialize the instruction printer and disassembler; however, although the printer and disassembler keep references to these objects they do not own them. Previously, the MCSubtargetInfo and MCInstrInfo objects were just leaked. I have extended LLVMDisasmContext to own these objects and delete them when it is destroyed. llvm-svn: 154192
-
John McCall authored
global destructor entry. For some reason this isn't enabled for apple-kexts; it'd be good to have documentation for that. Based on a patch by Nakamura Takumi! llvm-svn: 154191
-
John McCall authored
llvm-svn: 154190
-
John McCall authored
the template instantiation of statement-expressions. I think it was jyasskin who had a crashing testcase in this area; hopefully this fixes it and he can find his testcase and check it in. llvm-svn: 154189
-
Jordy Rose authored
llvm-svn: 154188
-
Patrick Beard authored
Added a new attribute, objc_root_class, which informs the compiler when a root class is intentionally declared. The warning this inhibits, -Wobjc-root-class, is opt-in for now. However, all clang unit tests that would trigger the warning have been updated to use -Wno-objc-root-class. <rdar://problem/7446698> llvm-svn: 154187
-
Greg Clayton authored
Fixed ModuleList::FindTypes() so that when a symbol context is supplied that contains a valid module, it will search that module first, then if we are still looking for matches (we have found less that "max_matches"), search in all of the other modules as well. llvm-svn: 154186
-
Sean Callanan authored
did not destroy the underlying disassembler in our destructor. llvm-svn: 154185
-
Simon Atanasyan authored
llvm-svn: 154184
-
Jakob Stoklund Olesen authored
ARM and Thumb2 mode can use cmn instructions to compare against negative immediates. Thumb1 mode can't. llvm-svn: 154183
-
Greg Clayton authored
In a prior commit, I changed the parameters around on a ModuleList::FindTypes where the old parameters that existing clients were using would have been compatible, so I renamed ModuleList::FindTypes to ModuleList::FindTypes2. Then I made fixes and verified I updated and fixed all client code, but I forgot to rename the function back to ModuleList::FindTypes(). I am doing that now and also cleaning up the C++ dynamic type code a bit. llvm-svn: 154182
-
Greg Clayton authored
Check if the two clang opaque type pointers are equal before doing anything more exhaustive comparison. llvm-svn: 154181
-
David Chisnall authored
parameter until we have a more sensible API for doing the same thing. Reviewed by Chandler. llvm-svn: 154180
-
Chandler Carruth authored
simplification has been performed. This is a bit less efficient (requires another ilist walk of the basic blocks) but shouldn't matter in practice. More importantly, it's just too much work to keep track of all the various ways the return instructions can be mutated while simplifying them. This fixes yet another crasher, reported by Daniel Dunbar. llvm-svn: 154179
-