Add Emacs hints to Alarm.inc.

Also removes some trailing whitespace and fixes one 80-column violation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64094 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mikhail Glushenkov 2009-02-08 21:10:57 +00:00
parent be685cc72a
commit 0cdadd8b9d
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
//===-- Alarm.inc - Implement Unix Alarm Support --------------------------===//
//===-- Alarm.inc - Implement Unix Alarm Support ----------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -20,11 +20,11 @@ using namespace llvm;
/// user presses CTRL-C.
static volatile bool AlarmCancelled = false;
/// AlarmTriggered - This flag is set by the SIGALRM signal handler if the
/// AlarmTriggered - This flag is set by the SIGALRM signal handler if the
/// alarm was triggered.
static volatile bool AlarmTriggered = false;
/// NestedSOI - Sanity check. Alarms cannot be nested or run in parallel.
/// NestedSOI - Sanity check. Alarms cannot be nested or run in parallel.
/// This ensures that they never do.
static bool NestedSOI = false;

View File

@ -1,10 +1,10 @@
//===- llvm/System/Unix/Host.inc --------------------------------*- C++ -*-===//
//
//===- llvm/System/Unix/Host.inc -------------------------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//
//===----------------------------------------------------------------------===//
//
// This file implements the UNIX Host support.

View File

@ -1,4 +1,4 @@
//===-- Alarm.inc - Implement Win32 Alarm Support -------------------------===//
//===-- Alarm.inc - Implement Win32 Alarm Support ---------------*- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
@ -14,7 +14,7 @@
#include <cassert>
using namespace llvm;
/// NestedSOI - Sanity check. Alarms cannot be nested or run in parallel.
/// NestedSOI - Sanity check. Alarms cannot be nested or run in parallel.
/// This ensures that they never do.
static bool NestedSOI = false;