mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Remove more ODR violations from test code.
PrintAST now works on `library-tests/dataflow/taint-tests`.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
#include "stl.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace {
|
||||
char *source();
|
||||
|
||||
}
|
||||
void sink(char *);
|
||||
void sink(const char *);
|
||||
void sink(bool);
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
#include "stl.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace {
|
||||
char *source();
|
||||
|
||||
}
|
||||
void sink(char *);
|
||||
void sink(std::set<char *>);
|
||||
void sink(std::set<char *>::iterator);
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
#include "stl.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace {
|
||||
char *source();
|
||||
|
||||
}
|
||||
namespace ns_char
|
||||
{
|
||||
char source();
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
#include "stl.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
namespace {
|
||||
char *source();
|
||||
|
||||
}
|
||||
namespace ns_char
|
||||
{
|
||||
char source();
|
||||
|
||||
Reference in New Issue
Block a user