gcc-to-clang-analyzer 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5989bf2eea11861eb043186482e278ff1619584a
4
- data.tar.gz: e27cc456c9169dc83d8a09d101c3b50ca835dfc0
3
+ metadata.gz: 15d041bf42187e64e3c4a07676bdd599a9895e83
4
+ data.tar.gz: d45d23cdc0e77351e68d755d377ef54b52e7b891
5
5
  SHA512:
6
- metadata.gz: d3f38ff2c9207f2f3fe5a29361f66b901ced72afeff38c083e2a214a55ce65bccde350535e52da1cb560810f8e514ac1ad07d68e3c69f31f87d222d5d058cda7
7
- data.tar.gz: 7acda4e35810a6f496bafc62ac200793f86dcf8f70e35fc165dca94d33f4f38007f1bd6e2bc990b2def3ca1eefe1211e70ec35a6b079f61c1fa4d3dfc90fa6fb
6
+ metadata.gz: 66d2593fe6d529c935d2632cc836351a951016868ca4ec7dd4c3956373c8aada4b59ec46e6eb1f03e7620b25a4b40f1bcd3bbc13759c36400e23d243b3e107bd
7
+ data.tar.gz: 15887598bc8ccf969992afbc82cd7ea376aa5b76f84083428a85339c278a9c4f9f1b4170982ce2bc1117a518deac7f243e096ea6b0d83fd80e590188c62cec70
data/bin/g++ CHANGED
@@ -4,7 +4,7 @@ require 'gcc_to_clang_analyzer/prepare_compiler_commandline'
4
4
  require 'gcc_to_clang_analyzer/rewrite_plist_file'
5
5
  require 'logger'
6
6
  logger = Logger.new(STDOUT)
7
- logger.level = Logger::WARN
7
+ logger.level = Logger::
8
8
  logger.debug("original #{ARGV.join(' ')}")
9
9
 
10
10
  command_line, output = PrepareCompilerCommandline.transform(ARGV)
@@ -13,6 +13,8 @@ cl = command_line.join(' ')
13
13
  logger.info("executing '#{cl}'")
14
14
 
15
15
  res = system(cl)
16
+ return res if res != 0
17
+
16
18
  if res && output.length > 0
17
19
  workspace_path = File.absolute_path('..')
18
20
  prefix = File.absolute_path('.').gsub(workspace_path+'/', '')
@@ -23,3 +25,4 @@ if res && output.length > 0
23
25
  File.delete(output)
24
26
  File.rename(tmp_output, output)
25
27
  end
28
+ return 0
@@ -1,3 +1,3 @@
1
1
  module GccToClangAnalyzer
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcc-to-clang-analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Köstlin