Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CodesignRequirement < Requirement | |
include FileUtils | |
fatal true | |
satisfy(:build_env => false) do | |
mktemp do | |
touch "llvm_check.txt" | |
quiet_system "/usr/bin/codesign", "-s", "lldb_codesign", "--dryrun", "llvm_check.txt" | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/PKGBUILD b/PKGBUILD | |
index 5ecf3c9..acecc97 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,7 +1,7 @@ | |
# Contributor: Mildred Ki'Lya <mildred-pub.aur@mildred.fr> | |
pkgname=mingw-w64-clang | |
-pkgver=r70.fc6bf05 | |
+pkgver=r76.e3b174e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <functional> | |
#include <iostream> | |
struct herp | |
{ | |
template <class T> | |
void derp(T something, | |
std::function<void()> callback = [](){}) // <-- gcc 4.8.1 explodes here | |
{ | |
std::cout << "Something: " << something << "\n"; | |
// do some work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# utility that allows us to defined chained attr accessors on classes | |
Function::chain_accessor = (attrs...) -> | |
for attr in attrs | |
# add the function to the prototype. we wrap the function in a closure | |
# to ensure that "attr" keeps its value so we are accessing the right | |
# attribute when we call this function later | |
@::[attr] = do (attr) -> | |
(data) -> | |
return @["_#{attr}"] unless data? | |
@["_#{attr}"] = data |