Skip to content
Merged
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
2 changes: 1 addition & 1 deletion core/metacling/src/TClingCallFunc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ C++ interpreter and the Clang C++ compiler, not CINT.
#include <sstream>

using namespace ROOT;
using namespace llvm;
using namespace clang;
using llvm::APSInt, llvm::raw_string_ostream;
using std::string, std::map, std::ostringstream, std::make_pair;

static unsigned long long gWrapperSerial = 0LL;
Expand Down
4 changes: 0 additions & 4 deletions interpreter/cling/lib/Interpreter/CIFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1407,10 +1407,6 @@ namespace {
#endif

if (!COpts.HasOutput || !HasInput) {
// suppress the warning "argument unused during compilation: -c" of the
// device interpreter instance
if (!COpts.CUDADevice)
argvCompile.push_back("-c");
argvCompile.push_back("-");
}

Expand Down
2 changes: 1 addition & 1 deletion interpreter/cling/lib/Interpreter/Value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ namespace cling {
const clang::BuiltinType *BT = getType()->castAs<clang::BuiltinType>();
clang::PrintingPolicy Policy = getASTContext().getPrintingPolicy();
#endif // NDEBUG
assert(BT->getName(Policy).equals(Type));
assert(BT->getName(Policy) == Type);
}

static clang::QualType getCorrespondingBuiltin(clang::ASTContext &C,
Expand Down
2 changes: 2 additions & 0 deletions interpreter/cling/lib/Utils/AST.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,8 @@ namespace utils {
static
NestedNameSpecifier* GetFullyQualifiedNameSpecifier(const ASTContext& Ctx,
NestedNameSpecifier* scope) {
if (!scope)
return nullptr;
// Return a fully qualified version of this name specifier
if (scope->getKind() == NestedNameSpecifier::Global) {
// Already fully qualified.
Expand Down
Loading