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
Delivered-To: frimmirf+lighthouse@gmail.com | |
Received: by 10.86.54.17 with SMTP id c17cs5349fga; | |
Sat, 28 Mar 2009 13:38:35 -0700 (PDT) | |
Received: by 10.114.149.8 with SMTP id w8mr2437034wad.39.1238272713762; | |
Sat, 28 Mar 2009 13:38:33 -0700 (PDT) | |
Return-Path: <no-reply@lighthouseapp.com> | |
Received: from smtp.xc88.engineyard.com (smtp.xc88.engineyard.com [65.74.177.134]) | |
by mx.google.com with ESMTP id z15si8656671pod.14.2009.03.28.13.38.31; | |
Sat, 28 Mar 2009 13:38:32 -0700 (PDT) |
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
Delivered-To: frimmirf+lighthouse@gmail.com | |
Received: by 10.86.54.17 with SMTP id c17cs5304fga; | |
Sat, 28 Mar 2009 13:36:42 -0700 (PDT) | |
Received: by 10.114.73.14 with SMTP id v14mr2416133waa.104.1238272601932; | |
Sat, 28 Mar 2009 13:36:41 -0700 (PDT) | |
Return-Path: <no-reply@lighthouseapp.com> | |
Received: from smtp.xc88.engineyard.com (smtp.xc88.engineyard.com [65.74.177.134]) | |
by mx.google.com with ESMTP id m27si8634135pof.27.2009.03.28.13.36.39; | |
Sat, 28 Mar 2009 13:36:40 -0700 (PDT) |
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
Delivered-To: frimmirf+lighthouse@gmail.com | |
Received: by 10.86.54.17 with SMTP id c17cs5175fga; | |
Sat, 28 Mar 2009 13:30:12 -0700 (PDT) | |
Received: by 10.115.33.1 with SMTP id l1mr2403182waj.168.1238272210922; | |
Sat, 28 Mar 2009 13:30:10 -0700 (PDT) | |
Return-Path: <no-reply@lighthouseapp.com> | |
Received: from smtp.xc88.engineyard.com (smtp.xc88.engineyard.com [65.74.177.134]) | |
by mx.google.com with ESMTP id t1si12455355poh.7.2009.03.28.13.30.09; | |
Sat, 28 Mar 2009 13:30:09 -0700 (PDT) |
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
Delivered-To: frimmirf+lighthouse@gmail.com | |
Received: by 10.86.54.17 with SMTP id c17cs5116fga; | |
Sat, 28 Mar 2009 13:27:09 -0700 (PDT) | |
Received: by 10.115.89.18 with SMTP id r18mr2410923wal.111.1238272027864; | |
Sat, 28 Mar 2009 13:27:07 -0700 (PDT) | |
Return-Path: <no-reply@lighthouseapp.com> | |
Received: from smtp.xc88.engineyard.com (smtp.xc88.engineyard.com [65.74.177.134]) | |
by mx.google.com with ESMTP id q18si8740273pog.9.2009.03.28.13.27.06; | |
Sat, 28 Mar 2009 13:27:06 -0700 (PDT) |
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
From 1e55f3c8b91450a04b4c7bc68e76842f4e4a8d51 Mon Sep 17 00:00:00 2001 | |
From: Johannes Gilger <heipei@hackvalue.de> | |
Date: Thu, 26 Mar 2009 12:42:56 +0100 | |
Subject: [PATCH] HistoryView: Confirm paste to Gist if github.user is unset | |
This patch relates to ticket #58. It adds a method which will ask for | |
confirmation when pasting to Gist as an anonymous user. Since users | |
which have github.user and github.token set can easily delete pasted | |
snippets no confirmation is needed for them. |
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
From 1e55f3c8b91450a04b4c7bc68e76842f4e4a8d51 Mon Sep 17 00:00:00 2001 | |
From: Johannes Gilger <heipei@hackvalue.de> | |
Date: Thu, 26 Mar 2009 12:42:56 +0100 | |
Subject: [PATCH] HistoryView: Confirm paste to Gist if github.user is unset | |
This patch relates to ticket #58. It adds a method which will ask for | |
confirmation when pasting to Gist as an anonymous user. Since users | |
which have github.user and github.token set can easily delete pasted | |
snippets no confirmation is needed for them. |
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/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp | |
index 9a3930c..cb71b53 100644 | |
--- a/lib/Driver/Tools.cpp | |
+++ b/lib/Driver/Tools.cpp | |
@@ -40,7 +40,8 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, | |
assert(JA.getType() == types::TY_Plist && "Invalid output type."); | |
CmdArgs.push_back("-analyze"); | |
} else if (isa<PreprocessJobAction>(JA)) { | |
- CmdArgs.push_back("-E"); | |
+ if (!Args.hasArg(options::OPT_M)) |
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
Args.hasArg(options::OPT_M); |
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/lib/Driver/Tools.cpp b/lib/Driver/Tools.cpp | |
index 9a3930c..960f696 100644 | |
--- a/lib/Driver/Tools.cpp | |
+++ b/lib/Driver/Tools.cpp | |
@@ -228,15 +228,14 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA, | |
// FIXME: Add --stack-protector-buffer-size=<xxx> on | |
// -fstack-protect. | |
+ Args.AddLastArg(CmdArgs, options::OPT_M); | |
Args.AddLastArg(CmdArgs, options::OPT_MD); |
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/Driver/DependencyFile.cpp b/Driver/DependencyFile.cpp | |
index 673ca07..8ffbfdf 100644 | |
--- a/Driver/DependencyFile.cpp | |
+++ b/Driver/DependencyFile.cpp | |
@@ -25,6 +25,7 @@ | |
#include "llvm/Support/raw_ostream.h" | |
#include <fstream> | |
#include <string> | |
+#include <iostream> | |