- Dec 12, 2013
-
-
Richard Barton authored
llvm-svn: 197144
-
Timur Iskhodzhanov authored
llvm-svn: 197143
-
Alexander Kornienko authored
llvm-svn: 197142
-
Alexander Kornienko authored
llvm-svn: 197141
-
Rui Ueyama authored
The file currently has only one function. Function that is useful both for IdataPass and EdataPass will be added to that file. llvm-svn: 197140
-
Alexander Kornienko authored
Summary: Leave only -help, -version and options from the specified category. Updated clang-check and clang-tidy. As clang-tidy is in a separate repository, here's the diff: Index: tools/extra/clang-tidy/tool/ClangTidyMain.cpp =================================================================== --- tools/extra/clang-tidy/tool/ClangTidyMain.cpp (revision 197024) +++ tools/extra/clang-tidy/tool/ClangTidyMain.cpp (working copy) @@ -39,7 +39,7 @@ // FIXME: Add option to list name/description of all checks. int main(int argc, const char **argv) { - CommonOptionsParser OptionsParser(argc, argv); + CommonOptionsParser OptionsParser(argc, argv, ClangTidyCategory); SmallVector<clang::tidy::ClangTidyError, 16> Errors; clang::tidy::runClangTidy(Checks, OptionsParser.getCompilations(), Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, revane, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2379 llvm-svn: 197139
-
Alexander Kornienko authored
Summary: Added BraceBreakingStyle::BS_GNU. I'm not sure about the correctness of static initializer formatting, but compound statements should be fine. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2372 llvm-svn: 197138
-
Rui Ueyama authored
DLLNameAtom is an atom whose content is a string. IdataAtom is not going to be the only place we need such atom, so I want to generalize it. llvm-svn: 197137
-
Gabor Greif authored
llvm-svn: 197136
-
Hao Liu authored
[AArch64]Fix the problem that AArch64 backend fails to select scalar_to_vector of vector types having more than one element. llvm-svn: 197135
-
Rui Ueyama authored
I'm planning to create a new pass for the DLL export table, and I want to use the class both from IdataPass and the new pass, EdataPass. So move the class to a common place. llvm-svn: 197132
-
NAKAMURA Takumi authored
llvm-svn: 197129
-
Ted Kremenek authored
llvm-svn: 197128
-
Richard Smith authored
conversion on the LHS of a .* or ->*. Slightly improve diagnostics in case of an ambiguous base class. llvm-svn: 197125
-
Alp Toker authored
Somewhat counterintuitively the first arg in gtest is treated as the expectation. No change to the tests themselves. llvm-svn: 197124
-
Rui Ueyama authored
llvm-svn: 197123
-
Rui Ueyama authored
/DLLEXPORT is a command line option to export a symbol. __declspec(dllexport) uses that to make the linker to export DLLExport'ed functions, by adding the option to .drectve section. This patch implements the parser of the command line option. llvm-svn: 197122
-
Alp Toker authored
The old AddFixedStringToRegEx() it was based on got away with this for the longest time, but the problem became easy to spot after the cleanup in r197096. Also add a quick unit test to cover regex escaping. llvm-svn: 197121
-
Richard Smith authored
Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here. llvm-svn: 197120
-
Reed Kotler authored
I don't know why this did not show up earlier. This code has been around for ages. llvm-svn: 197119
-
Hans Wennborg authored
llvm-svn: 197116
-
NAKAMURA Takumi authored
llvm-svn: 197114
-
Kevin Qin authored
In regular expression, [0-31]+ equals to [0-3]+, not the number from 0 to 31. So change it to [0-9]+. llvm-svn: 197113
-
Kevin Qin authored
In regular expression, [0-31]+ equals to [0-3]+, not the number from 0 to 31. So change it to [0-9]+. llvm-svn: 197112
-
Hans Wennborg authored
with the edit entries, instead of applying the changes" (And also revert the follow-up r197086.) This seems to have broken Linux builds, which were failing with the following: /build/buildbot/osu8/clang-x86_64-linux-selfhost-rel/llvm.obj/Release+Asserts/lib/libclang.so: error: undefined reference to 'clang::ento::objc_retain::CallEffects::getEffect(clang::ObjCMethodDecl const*)' /build/buildbot/osu8/clang-x86_64-linux-selfhost-rel/llvm.obj/Release+Asserts/lib/libclang.so: error: undefined reference to 'clang::ento::objc_retain::CallEffects::getEffect(clang::FunctionDecl const*)' collect2: error: ld returned 1 exit status llvm-svn: 197111
-
Aaron Ballman authored
llvm-svn: 197110
-
Yi Jiang authored
llvm-svn: 197109
-
Greg Clayton authored
LLDB can crash if given DWARF debug info for a class that has a base class which isn't a complete definition. <rdar://problem/15594781> We need to not crash at any cost. We currently detect if any base classes are forward declarations, emit an error string that directs the use to file a compiler bug, and continues by completing the class with no contents. This avoids a clang crash that would usually follow when we call setBase(). llvm-svn: 197108
-
Enrico Granata authored
llvm-svn: 197107
-
Enrico Granata authored
With this checkin, we use the installed clang compiler to build crashinfo.so from crashinfo.c upon every test suite execution We also try to cleanup after ourselves, which of course will only work if the test suite does not actually crash llvm-svn: 197106
-
Yi Jiang authored
llvm-svn: 197105
-
Aaron Ballman authored
Added a Subjects clause to the section attribute and made its diagnostics more consistent with other attributes. llvm-svn: 197104
-
Richard Smith authored
declarations that might lifetime-extend multiple temporaries. In passing, fix a crasher (PR18217) if an initializer was dependent and exactly the wrong shape, and remove a bogus function (Expr::findMaterializedTemporary) now its last use is gone. llvm-svn: 197103
-
Fariborz Jahanian authored
Objective-C object conforming to 'NSCopying' protocol, infer a 'copy' property, instead of 'strong'. // rdar://15525937 llvm-svn: 197102
-
Hans Wennborg authored
This depends on LLVM r197096. llvm-svn: 197101
-
Hal Finkel authored
llvm-svn: 197100
-
Hal Finkel authored
Aside from a few minor latency corrections, the major change here is a new hazard recognizer which focuses on better dispatch-group formation on the POWER7. As with the PPC970's hazard recognizer, the most important thing it does is avoid load-after-store hazards within the same dispatch group. It uses the POWER7's special dispatch-group-terminating nop instruction (instead of inserting multiple regular nop instructions). This new hazard recognizer makes use of the scheduling dependency graph itself, built using AA information, to robustly detect the possibility of load-after-store hazards. significant test-suite performance changes (the error bars are 99.5% confidence intervals based on 5 test-suite runs both with and without the change -- speedups are negative): speedups: MultiSource/Benchmarks/FreeBench/pcompress2/pcompress2 -0.55171% +/- 0.333168% MultiSource/Benchmarks/TSVC/CrossingThresholds-dbl/CrossingThresholds-dbl -17.5576% +/- 14.598% MultiSource/Benchmarks/TSVC/Reductions-dbl/Reductions-dbl -29.5708% +/- 7.09058% MultiSource/Benchmarks/TSVC/Reductions-flt/Reductions-flt -34.9471% +/- 11.4391% SingleSource/Benchmarks/BenchmarkGame/puzzle -25.1347% +/- 11.0104% SingleSource/Benchmarks/Misc/flops-8 -17.7297% +/- 9.79061% SingleSource/Benchmarks/Shootout-C++/ary3 -35.5018% +/- 23.9458% SingleSource/Regression/C/uint64_to_float -56.3165% +/- 25.4234% SingleSource/UnitTests/Vectorizer/gcc-loops -18.5309% +/- 6.8496% regressions: MultiSource/Benchmarks/ASCI_Purple/SMG2000/smg2000 18.351% +/- 12.156% SingleSource/Benchmarks/Shootout-C++/methcall 27.3086% +/- 14.4733% llvm-svn: 197099
-
Hal Finkel authored
SDep had is* functions for the other kinds of order dependencies (isMustAlias, isWeak, isArtificial, etc.), but not for barrier. Upcoming commits in the PowerPC backend will make use of this function. llvm-svn: 197098
-
Quentin Colombet authored
The assertion was checking that the virtual register VReg used to represent the physical register PReg uses the same register class as the one passed to MachineFunction::addLiveIn. This is over-constraining because it is sufficient to check that the register class of VReg (VRegRC) is a subclass of the register class of PReg (PRegRC) and that VRegRC contains PReg. Indeed, if VReg gets constrained because of some operation constraints between two calls of MachineFunction::addLiveIn, the original assertion cannot match. This fixes <rdar://problem/15633429>. llvm-svn: 197097
-
Hans Wennborg authored
Both FileCheck and clang's -verify need to escape strings for regexes, so let's expose this as a utility in the Regex class. llvm-svn: 197096
-