- Jan 02, 2014
-
-
Alp Toker authored
The backend string is only verified when available as it's possible to run clang IRGen for targets that haven't been built or don't exist in LLVM. llvm-svn: 198309
-
Rafael Espindola authored
llvm-svn: 198308
-
Rafael Espindola authored
No functionality change, but unblocks asserting that llvm's and clang's datalayout strings are the same. llvm-svn: 198306
-
Joey Gouly authored
llvm-svn: 198300
-
- Jan 01, 2014
-
-
NAKAMURA Takumi authored
FIXME: Dragonegg may be updated at non-trivial changes. llvm-svn: 198274
-
Alp Toker authored
llvm-svn: 198272
-
Alp Toker authored
Remove UnaryTypeTraitExpr and switch all remaining type trait related handling over to TypeTraitExpr. The UTT/BTT/TT enum prefix and evaluation code is retained pending further cleanup. This is part of the ongoing work to unify type traits following the removal of BinaryTypeTraitExpr in r197273. llvm-svn: 198271
-
Alp Toker authored
1) Teach ExpectAndConsume() to emit expected and expected-after diagnostics using the generic diagnostic descriptions added in r197972, eliminating another set of trivial err_expected_* variations while maintaining existing behaviour. 2) Lift SkipUntil() recovery out of ExpectAndConsume(). The Expect/Consume family of functions are primitive parser operations that now have the well-defined property of operating on single tokens. Factoring out recovery exposes opportunities for more consistent and tailored error recover at the call sites instead of just relying on a bottled SkipUntil formula. llvm-svn: 198270
-
- Dec 31, 2013
-
-
Joey Gouly authored
Patch by joey.gouly@arm.com llvm-svn: 198264
-
Serge Pavlov authored
Previously any error in enum definition body stopped parsing it. With this change parser tries to recover from errors. The patch fixes PR10982. Differential Revision: http://llvm-reviews.chandlerc.com/D2018 llvm-svn: 198259
-
Alp Toker authored
lib/ASTMatchers/ASTMatchFinder.cpp:276:28: error: typedef 'traverse_can_only_be_instantiated_with_base_type' locally defined but not used [-Werror=unused-local-typedefs] traverse_can_only_be_instantiated_with_base_type); llvm-svn: 198256
-
Alp Toker authored
Includes a fix for a missing highlight range caused by a ',' typo in the PP diagnostics. llvm-svn: 198252
-
- Dec 30, 2013
-
-
DeLesley Hutchins authored
llvm-svn: 198249
-
Nick Lewycky authored
llvm-svn: 198243
-
Reid Kleckner authored
Enums don't have linkage, so clang warns when this expands to dllimport. llvm-svn: 198227
-
DeLesley Hutchins authored
important for thread safety attributes, which contain expressions that were not being visited, and were thus invisible to various tools. There are now Visit*Attr methods that can be overridden for every attribute. llvm-svn: 198224
-
Alexander Kornienko authored
-Wconversion-null warning in GCC. llvm-svn: 198214
-
NAKAMURA Takumi authored
[CMake][VS][XCode] Restruct the output directory layout more comfortable, ${BINARY_DIR}/${BUILD_MODE}/(bin|lib) We have been seeing nasty directory layout with CMake multiconfig, such as, bin/Release/clang.exe lib/clang/3.x/... lib/Release/clang/3.x/.. (duplicated) Move the layout similar to autoconf's; Release/bin/clang.exe Release/lib/clang/3.x/... Checked on Visual Studio 10. Could you guys please confirm my change on XCode(and other multiconfig builders)? Note: Don't set variables CMAKE_*_OUTPUT_DIRECTORY any more, or a certain builder, for eaxample, msbuild.exe, would be confused. llvm-svn: 198205
-
Nico Weber authored
Also stop setting passing -dead_strip explicitly for libclang and instead rely on this now happening by default. (And make it happen by default for add_clang_library, which doesn't use the library cmake functions from llvm.) llvm-svn: 198200
-
Jiangning Liu authored
llvm-svn: 198195
-
Alp Toker authored
llvm-svn: 198191
-
Alp Toker authored
This is approaching consistency but the PP and Parse categories they still have slightly different wording: def err_pp_expected_after : Error<"missing %1 after %0">; def err_expected_after : Error<"expected %1 after %0">; llvm-svn: 198189
-
Nico Weber authored
llvm-svn: 198187
-
Nico Weber authored
llvm-svn: 198186
-
Nico Weber authored
The corresponding Makefile sets it too. Also tweak add_clang_library to support LLVM_EXPORTED_SYMBOL_FILE for modules. llvm-svn: 198185
-
- Dec 29, 2013
-
-
Nico Weber authored
Now the exports file should have an effect on non-darwin too. llvm-svn: 198176
-
Aaron Ballman authored
Fixing a compile error that recently started happening for me in MSVC 2013. CFGTerminator has an explicit conversion to bool operator that we can make use of instead of using == 0. llvm-svn: 198175
-
- Dec 28, 2013
-
-
Alp Toker authored
It may be a quick and dirty script but it's still useful to have some indication as to its purpose. Text taken straight from Jordan's r158682 commit message. llvm-svn: 198128
-
Alp Toker authored
This better describes what the function does. Cleanup only. llvm-svn: 198127
-
Alp Toker authored
'create' functions conventionally return a pointer, not a reference. Also use an OwningPtr to get replace the delete of a reference member. No functional change. llvm-svn: 198126
-
rdar://problem/15711488Bob Wilson authored
This is a follow-up to r194907, which added a new -arch setting to make it easier to specify AVX2 targets. The "-arch x86_64h" option needs to be passed on to the linker, but it was getting canonicalized to x86_64 by the code in getArchTypeForDarwinArchName. llvm-svn: 198096
-
Chandler Carruth authored
purpose of this global is to be set and not used. =] llvm-svn: 198094
-
- Dec 27, 2013
-
-
Nico Weber authored
llvm-svn: 198088
-
Reid Kleckner authored
llvm-svn: 198086
-
Reid Kleckner authored
No functionality change. llvm-svn: 198085
-
Will Wilson authored
llvm-svn: 198083
-
Will Wilson authored
Follows algorithm described here: http://msdn.microsoft.com/en-us/library/36k2cdd4.aspx llvm-svn: 198082
-
Reid Kleckner authored
llvm-svn: 198081
-
Reid Kleckner authored
Most importantly, this makes our vtable layout match MSVC's. Previously we would emit a return adjusting thunk whenever the return types differed, even if the adjustment would have been trivial. MSVC does emit some trivial return adjusting thunks, but only if there was already an overridden method that required a return adjustment. llvm-svn: 198080
-
Aaron Ballman authored
In an effort to reduce the likelihood of text getting out of sync, reusing the text from some diagnostics explicitly. No functional changes intended. llvm-svn: 198078
-