File tree Expand file tree Collapse file tree 7 files changed +5
-5
lines changed Expand file tree Collapse file tree 7 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77//! - The semantic database format. (Internal format of this project.)
88//! - The execution event database format. (Internal format of this project.)
99
10- use super :: { clang , json} ;
11- use crate :: { intercept, semantic} ;
10+ use super :: json;
11+ use crate :: { intercept, semantic, semantic :: clang } ;
1212use serde_json:: de:: IoRead ;
1313use serde_json:: StreamDeserializer ;
1414use std:: io;
@@ -145,7 +145,7 @@ impl FileFormat<intercept::Event> for ExecutionEventDatabase {
145145#[ cfg( test) ]
146146mod test {
147147 mod compilation_database {
148- use super :: super :: clang:: { Entry , EntryError } ;
148+ use super :: super :: semantic :: clang:: { Entry , EntryError } ;
149149 use super :: super :: JsonCompilationDatabase as Sut ;
150150 use super :: super :: { Error , FileFormat } ;
151151 use serde_json:: error:: Category ;
Original file line number Diff line number Diff line change 1010//! The `OutputWriter` enum represents the main entry point for writing the output.
1111//! The input of the `OutputWriter` is a stream of `semantic::CompilerCall` instances.
1212
13- mod clang;
1413mod formats;
1514mod json;
1615mod writers;
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-3.0-or-later
22
3- use super :: clang:: { DuplicateEntryFilter , Entry , EntryConverter } ;
43use super :: formats:: { FileFormat , JsonCompilationDatabase , JsonSemanticDatabase } ;
4+ use crate :: semantic:: clang:: { DuplicateEntryFilter , Entry , EntryConverter } ;
55use crate :: { config, semantic} ;
66use anyhow:: Context ;
77use std:: { fs, io, path} ;
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1010//! We are interested in the compiler passes, because those are the
1111//! ones that are relevant to build a JSON compilation database.
1212
13+ pub mod clang;
1314pub mod interpreters;
1415pub mod transformation;
1516
You can’t perform that action at this time.
0 commit comments