Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions clang/tools/scan-view/share/ScanView.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,7 @@
import itertools

import Reporter

try:
import configparser
except ImportError:
import ConfigParser as configparser
import configparser

###
# Various patterns matched or replaced by server.
Expand Down
6 changes: 1 addition & 5 deletions clang/utils/check_cfc/check_cfc.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,7 @@
import subprocess
import sys
import tempfile

try:
import configparser
except ImportError:
import ConfigParser as configparser
import configparser
import io

import obj_diff
Expand Down
8 changes: 2 additions & 6 deletions llvm/utils/lit/tests/Inputs/test-data-micro/dummy_format.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import os

try:
import ConfigParser
except ImportError:
import configparser as ConfigParser
import configparser

import lit.formats
import lit.Test
Expand All @@ -16,7 +12,7 @@ def execute(self, test, lit_config):

source_path = test.getSourcePath()

cfg = ConfigParser.ConfigParser()
cfg = configparser.ConfigParser()
cfg.read(source_path)

# Create the basic test result.
Expand Down
8 changes: 2 additions & 6 deletions llvm/utils/lit/tests/Inputs/test-data/dummy_format.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import os

try:
import ConfigParser
except ImportError:
import configparser as ConfigParser
import configparser

import lit.formats
import lit.Test
Expand All @@ -16,7 +12,7 @@ def execute(self, test, lit_config):

source_path = test.getSourcePath()

cfg = ConfigParser.ConfigParser()
cfg = configparser.ConfigParser()
cfg.read(source_path)

# Create the basic test result.
Expand Down
8 changes: 2 additions & 6 deletions llvm/utils/lit/tests/Inputs/xunit-output/dummy_format.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import os

try:
import ConfigParser
except ImportError:
import configparser as ConfigParser
import configparser

import lit.formats
import lit.Test
Expand All @@ -16,7 +12,7 @@ def execute(self, test, lit_config):

source_path = test.getSourcePath()

cfg = ConfigParser.ConfigParser()
cfg = configparser.ConfigParser()
cfg.read(source_path)

# Create the basic test result.
Expand Down