Skip to content

Commit

Permalink
Fixed type in comment, extra i after :
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-birman committed Sep 18, 2023
1 parent 294fd68 commit 96a06be
Show file tree
Hide file tree
Showing 32 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion src/alloc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
// TODO: Heap cloning, with two optimizations:
//
// - Stack allocations with non-pointer-containing types need not have contexts
Expand Down
2 changes: 1 addition & 1 deletion src/analysis.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
pub mod callgraph;
pub use callgraph::*;
pub mod int;
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/callgraph.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
//! Callgraph analysis
//!
//! TODO:
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/int.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
//! Integer analysis
use std::collections::HashMap;
Expand Down
2 changes: 1 addition & 1 deletion src/analysis/pointer.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
// TODO: Handle global aliases
use std::collections::{HashMap, HashSet};

Expand Down
2 changes: 1 addition & 1 deletion src/arc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
#[cfg(not(feature = "precompute"))]
mod cached;
#[cfg(not(feature = "precompute"))]
Expand Down
2 changes: 1 addition & 1 deletion src/arc/cached.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt::{Debug, Display};
use std::hash::Hash;
use std::ops::Deref;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/precomputed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt::{Debug, Display};
use std::hash::Hash;
use std::ops::Deref;
Expand Down
2 changes: 1 addition & 1 deletion src/arc/uarc.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt::Display;
use std::hash::Hash;
use std::ptr;
Expand Down
2 changes: 1 addition & 1 deletion src/bin/int.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::collections::HashMap;
use std::io::{self, Write};

Expand Down
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt;
use std::path::PathBuf;

Expand Down
2 changes: 1 addition & 1 deletion src/hash.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
mod cached;
mod precomputed;
pub(crate) use precomputed::*;
Expand Down
2 changes: 1 addition & 1 deletion src/hash/cached.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
// TODO(lb): Add LICENSE from OnceCell

#![allow(unused)]
Expand Down
2 changes: 1 addition & 1 deletion src/hash/precomputed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::hash::Hash;
use std::marker::PhantomData;

Expand Down
2 changes: 1 addition & 1 deletion src/hash/prehashed.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt::{Debug, Display};
use std::hash::Hash;

Expand Down
2 changes: 1 addition & 1 deletion src/hash/ref.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt::Display;
use std::hash::Hash;
use std::ptr;
Expand Down
2 changes: 1 addition & 1 deletion src/klimited.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
// TODO: Specialize for 1-9 or so? `pushed` is where many heap allocations happen.
use std::collections::VecDeque;

Expand Down
2 changes: 1 addition & 1 deletion src/lattice.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
//! Lattice for values of integer variables
use ascent::{lattice::constant_propagation::ConstPropagation, Lattice};
Expand Down
2 changes: 1 addition & 1 deletion src/layers.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
pub mod counts;
pub use counts::*;
pub mod nanos;
Expand Down
2 changes: 1 addition & 1 deletion src/layers/counts.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use tracing::{Id, Subscriber};
use tracing_subscriber::{layer::Context, registry::LookupSpan, Layer};

Expand Down
2 changes: 1 addition & 1 deletion src/layers/nanos.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::time::{Duration, SystemTime};

use dashmap::DashMap;
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
mod alloc;
pub use alloc::*;
pub mod analysis;
Expand Down
2 changes: 1 addition & 1 deletion src/llvm.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
//! Representation of an LLVM module that is amenable to analysis. In
//! particular, Ascent values must implement `Clone`, `Hash`, and `Eq`. Since
//! the LLVM AST contains floats, and floats don't implement `Eq`, we must
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/constant.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::{collections::HashMap, fmt::Display};

use crate::arc::{Arc, UArc};
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/error.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
#[derive(Clone, Debug, Default, Hash, PartialEq, Eq, thiserror::Error)]
pub struct Error(pub String);

Expand Down
2 changes: 1 addition & 1 deletion src/llvm/instruction.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::collections::HashMap;

use either::Either;
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/name.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::fmt::Display;

use llvm_ir::{
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/operand.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::collections::HashMap;

use llvm_ir::Name;
Expand Down
2 changes: 1 addition & 1 deletion src/llvm/terminator.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::collections::HashMap;

use either::Either;
Expand Down
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::collections::HashMap;
use std::io::{self, Write};

Expand Down
2 changes: 1 addition & 1 deletion src/signatures.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::collections::HashMap;

use regex::RegexSet;
Expand Down
2 changes: 1 addition & 1 deletion src/union.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier:i BSD-3-Clause
// SPDX-License-Identifier: BSD-3-Clause
use std::ops::{Deref, DerefMut};

use crate::arc::Arc;
Expand Down

0 comments on commit 96a06be

Please sign in to comment.